summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-testing/314-wisoc_softled.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-18 22:57:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-18 22:57:30 +0000
commit9dc4917da8a85552aa733b269c985cebb35f00c5 (patch)
tree1d7b62d9d6fc2d792c0fd53c7b3d886dd7635882 /package/madwifi/patches-testing/314-wisoc_softled.patch
parent8aa31d7ce01f62e092d91499529e80db27775558 (diff)
downloadmtk-20170518-9dc4917da8a85552aa733b269c985cebb35f00c5.zip
mtk-20170518-9dc4917da8a85552aa733b269c985cebb35f00c5.tar.gz
mtk-20170518-9dc4917da8a85552aa733b269c985cebb35f00c5.tar.bz2
rename patches-r3776 to patches-testing
SVN-Revision: 11868
Diffstat (limited to 'package/madwifi/patches-testing/314-wisoc_softled.patch')
-rw-r--r--package/madwifi/patches-testing/314-wisoc_softled.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches-testing/314-wisoc_softled.patch b/package/madwifi/patches-testing/314-wisoc_softled.patch
new file mode 100644
index 0000000..ca5ffdc
--- /dev/null
+++ b/package/madwifi/patches-testing/314-wisoc_softled.patch
@@ -0,0 +1,11 @@
+--- a/ath/if_ath_ahb.c
++++ b/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;
+