add performance improvement for madwifi on low-memory systems
[openwrt.git] / package / madwifi / patches / 328-ani_stuff.patch
1 Index: madwifi-trunk-r3314/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-03-07 00:38:26.748463672 +0100
4 +++ madwifi-trunk-r3314/ath/if_ath.c 2008-03-07 00:38:51.285861974 +0100
5 @@ -6753,8 +6753,9 @@
6 dev->quota -= processed;
7 #endif
8
9 - /* rx signal state monitoring */
10 - ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
11 + /* rx signal state monitoring, only necessary/applicable for sta mode */
12 + if (sc->sc_opmode == HAL_M_STA)
13 + ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan);
14 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
15 return processed;
16 #else
This page took 0.047559 seconds and 5 git commands to generate.