ath9k: do not enable radar pulse detection in STA mode
PATCH 1/1 ath9k: do not enable radar pulse detection in STA mode
--- drivers/net/wireless/ath/ath9k/recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/recv.c +1 -1
@@ -384,7 +384,7 @@ u32 ath_calcrxfilter(struct ath_softc *s | ATH9K_RX_FILTER_MCAST;/* if operating on a DFS channel, enable radar pulse detection */ -if (sc->hw->conf.radar_enabled) +if (sc->hw->conf.radar_enabled && sc->sc_ah->opmode !=NL80211_IFTYPE_STATION ) rfilt |=ATH9K_RX_FILTER_PHYRADAR |ATH9K_RX_FILTER_PHYERR ;spin_lock_bh (&sc->chan_lock);
--------------020208060408090800080909--