Don't enable the PHY radar errors in calcrxfilter.

That way the radar errors aren't enabled prematurely.

A DFS tester has reported that radar events are reported
during channel scanning, before DFS is actually enabled.
This commit is contained in:
adrian 2011-10-17 14:17:37 +00:00
parent ce57dfe403
commit 6d4595e17a

View File

@ -2031,10 +2031,6 @@ ath_calcrxfilter(struct ath_softc *sc)
if (ic->ic_opmode == IEEE80211_M_MONITOR)
rfilt |= HAL_RX_FILTER_CONTROL;
if (sc->sc_dodfs) {
rfilt |= HAL_RX_FILTER_PHYRADAR;
}
/*
* Enable RX of compressed BAR frames only when doing
* 802.11n. Required for A-MPDU.