aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/350-wisoc_softled.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches/350-wisoc_softled.patch')
-rw-r--r--package/madwifi/patches/350-wisoc_softled.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/350-wisoc_softled.patch b/package/madwifi/patches/350-wisoc_softled.patch
new file mode 100644
index 000000000..dae9f218d
--- /dev/null
+++ b/package/madwifi/patches/350-wisoc_softled.patch
@@ -0,0 +1,11 @@
+--- a/ath/if_ath_ahb.c
++++ b/ath/if_ath_ahb.c
+@@ -245,6 +245,8 @@ init_ath_wmac(u_int16_t devid, u_int16_t
+ 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;
+