aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/328-ani_stuff.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-31 04:09:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-31 04:09:54 +0000
commit02cabf59486ff526a71c760b7120e0ce5e7892b7 (patch)
treed7025986045fd65118b17b57a8aedd7b718e4d82 /package/madwifi/patches/328-ani_stuff.patch
parente80d5f9686da8698ae2b8d961401ec76cedcce30 (diff)
downloadupstream-02cabf59486ff526a71c760b7120e0ce5e7892b7.tar.gz
upstream-02cabf59486ff526a71c760b7120e0ce5e7892b7.tar.bz2
upstream-02cabf59486ff526a71c760b7120e0ce5e7892b7.zip
pull madwifi forward to the latest upstream version - should fix some dual radio issues; add preliminary 2.6.24 support patch (compiles, not run-time tested, thx SeG)
SVN-Revision: 10334
Diffstat (limited to 'package/madwifi/patches/328-ani_stuff.patch')
-rw-r--r--package/madwifi/patches/328-ani_stuff.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/madwifi/patches/328-ani_stuff.patch b/package/madwifi/patches/328-ani_stuff.patch
new file mode 100644
index 0000000000..c534eecce9
--- /dev/null
+++ b/package/madwifi/patches/328-ani_stuff.patch
@@ -0,0 +1,16 @@
+Index: madwifi-trunk-r3314/ath/if_ath.c
+===================================================================
+--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-01-31 03:59:25.474330368 +0100
++++ madwifi-trunk-r3314/ath/if_ath.c 2008-01-31 04:00:30.254021949 +0100
+@@ -6686,8 +6686,9 @@
+
+ *budget -= processed;
+
+- /* rx signal state monitoring */
+- ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
++ /* rx signal state monitoring, only necessary/applicable for sta mode */
++ if (sc->sc_opmode == HAL_M_STA)
++ ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
+ return early_stop;
+ #undef PA2DESC
+ }