2008-01-31 12:09:54 +08:00
|
|
|
Index: madwifi-trunk-r3314/ath/if_ath.c
|
|
|
|
===================================================================
|
2008-03-07 09:06:23 +08:00
|
|
|
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-03-07 00:38:26.748463672 +0100
|
|
|
|
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-03-07 00:38:51.285861974 +0100
|
|
|
|
@@ -6753,8 +6753,9 @@
|
|
|
|
dev->quota -= processed;
|
2008-02-21 05:26:21 +08:00
|
|
|
#endif
|
2008-01-31 12:09:54 +08:00
|
|
|
|
|
|
|
- /* 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);
|
2008-03-07 09:06:23 +08:00
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
|
|
|
return processed;
|
|
|
|
#else
|