From 18a605bf0b48420b0385f75c886d43c81435f532 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 31 Jan 2008 04:09:54 +0000 Subject: 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/328-ani_stuff.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/madwifi/patches/328-ani_stuff.patch (limited to 'package/madwifi/patches/328-ani_stuff.patch') diff --git a/package/madwifi/patches/328-ani_stuff.patch b/package/madwifi/patches/328-ani_stuff.patch new file mode 100644 index 000000000..c534eecce --- /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 + } -- cgit v1.2.3