diff options
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index d74abe0..e1d2c0f 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -39,6 +39,11 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_ath.h" +/* + * This is needed for register operations which are performed + * by the driver - eg, calls to ath_hal_gettsf32(). + */ +#include "opt_ah.h" #include "opt_wlan.h" #include <sys/param.h> @@ -2031,10 +2036,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. |