1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 03:00:18 +02:00
openwrt-xburst/package/madwifi/patches/328-ani_stuff.patch
nbd bcb54b3924 refresh madwifi patches, fix an issue with napi polling (thx SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 21:26:21 +00:00

17 lines
620 B
Diff

Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-02-20 21:59:01.609670527 +0100
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-20 21:59:04.037808900 +0100
@@ -6752,8 +6752,9 @@
*budget -= processed;
#endif
- /* 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
}