1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 15:03:08 +02:00
openwrt-xburst/package/madwifi/patches/350-wisoc_softled.patch

14 lines
423 B
Diff
Raw Normal View History

Index: madwifi-trunk-r3314/ath/if_ath_ahb.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath_ahb.c
+++ madwifi-trunk-r3314/ath/if_ath_ahb.c
@@ -245,6 +245,8 @@
num_activesc++;
/* Ready to process interrupts */
+ sc->aps_sc.sc_softled = 1; /* SoftLED over GPIO */
+ sc->aps_sc.sc_ledpin = config->board->sysLedGpio;
sc->aps_sc.sc_invalid = 0;
return 0;