If spectral scan is enabled, ensure radar report PHY errors are also

enabled.
This commit is contained in:
Adrian Chadd 2013-01-08 22:12:45 +00:00
parent 0e4b6f5ed7
commit f29c6bdec5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245183

View File

@ -210,6 +210,13 @@ ath_calcrxfilter(struct ath_softc *sc)
if (sc->sc_dodfs)
rfilt |= HAL_RX_FILTER_PHYRADAR;
/*
* Enable spectral PHY errors if requested by the
* spectral module.
*/
if (sc->sc_dospectral)
rfilt |= HAL_RX_FILTER_PHYRADAR;
DPRINTF(sc, ATH_DEBUG_MODE, "%s: RX filter 0x%x, %s if_flags 0x%x\n",
__func__, rfilt, ieee80211_opmode_name[ic->ic_opmode], ifp->if_flags);
return rfilt;