aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-01-08 22:12:45 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-01-08 22:12:45 +0000
commitf29c6bdec5bdd6f96c78e757cac0f7acbc8abace (patch)
tree4793ff5ee48ff08355aebcebabc064ab7806928f
parent0e4b6f5ed799d0c257bb2c1bdd3874d75916f333 (diff)
Notes
-rw-r--r--sys/dev/ath/if_ath_rx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c
index 78f19e29c95e..5a39d16a0acc 100644
--- a/sys/dev/ath/if_ath_rx.c
+++ b/sys/dev/ath/if_ath_rx.c
@@ -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;