summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/350-wisoc_softled.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-01 03:00:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-01 03:00:32 +0000
commit7afee719bf46c7ab910acdecd8dcea17917198a6 (patch)
treeef776f232bc867e82e9f7b23d31c340c7261340a /package/madwifi/patches/350-wisoc_softled.patch
parentca44a0dc0e0e0b22bbc5055c2533640155c25ea2 (diff)
madwifi: update to sam leffler's latest hal
fixes LED on wisoc fixes rx sensitivity issues improves throughput on all cards/devices enhances link stability git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11314 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/350-wisoc_softled.patch')
-rw-r--r--package/madwifi/patches/350-wisoc_softled.patch13
1 files changed, 13 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..d22ee6092
--- /dev/null
+++ b/package/madwifi/patches/350-wisoc_softled.patch
@@ -0,0 +1,13 @@
+Index: madwifi-trunk-r3314/ath/if_ath_ahb.c
+===================================================================
+--- madwifi-trunk-r3314.orig/ath/if_ath_ahb.c 2008-03-07 11:40:44.967178082 +0100
++++ madwifi-trunk-r3314/ath/if_ath_ahb.c 2008-03-07 11:40:47.763337418 +0100
+@@ -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;
+