2008-01-31 06:09:54 +02:00
|
|
|
Index: madwifi-trunk-r3314/ath/if_ath.c
|
|
|
|
===================================================================
|
2008-02-20 23:26:21 +02:00
|
|
|
--- 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 @@
|
2008-01-31 06:09:54 +02:00
|
|
|
*budget -= processed;
|
2008-02-20 23:26:21 +02:00
|
|
|
#endif
|
2008-01-31 06:09:54 +02: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);
|
|
|
|
return early_stop;
|
|
|
|
#undef PA2DESC
|
|
|
|
}
|