diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2006-06-26 04:31:36 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2006-06-26 04:31:36 +0000 |
| commit | 6f48c9564271111f2bcd49b4f0d352031d855a44 (patch) | |
| tree | 641b304c2f8ee6edee7a899762aa4a0e9592b555 /sys/dev/ath | |
| parent | 09e19031ab58d91780201215722a066b985bab73 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_ath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index be28b4204647..a31236798d21 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1699,6 +1699,8 @@ ath_key_update_end(struct ieee80211com *ic) * - when operating in station mode for collecting rssi data when * the station is otherwise quiet, or * - when scanning + * o accept control frames: + * - when in monitor mode */ static u_int32_t ath_calcrxfilter(struct ath_softc *sc, enum ieee80211_state state) @@ -1720,6 +1722,8 @@ ath_calcrxfilter(struct ath_softc *sc, enum ieee80211_state state) ic->ic_opmode == IEEE80211_M_IBSS || state == IEEE80211_S_SCAN) rfilt |= HAL_RX_FILTER_BEACON; + if (ic->ic_opmode == IEEE80211_M_MONITOR) + rfilt |= HAL_RX_FILTER_CONTROL; return rfilt; #undef RX_FILTER_PRESERVE } |
