diff options
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index 1ed152f2dec3..34cd1a4a297f 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -2953,9 +2953,9 @@ static void ath5k_configure_filter(struct ieee80211_hw *hw, | |||
2953 | test_bit(ATH_STAT_PROMISC, sc->status)) | 2953 | test_bit(ATH_STAT_PROMISC, sc->status)) |
2954 | rfilt |= AR5K_RX_FILTER_PROM; | 2954 | rfilt |= AR5K_RX_FILTER_PROM; |
2955 | if (sc->opmode == NL80211_IFTYPE_STATION || | 2955 | if (sc->opmode == NL80211_IFTYPE_STATION || |
2956 | sc->opmode == NL80211_IFTYPE_ADHOC) { | 2956 | sc->opmode == NL80211_IFTYPE_ADHOC || |
2957 | sc->opmode == NL80211_IFTYPE_AP) | ||
2957 | rfilt |= AR5K_RX_FILTER_BEACON; | 2958 | rfilt |= AR5K_RX_FILTER_BEACON; |
2958 | } | ||
2959 | if (sc->opmode == NL80211_IFTYPE_MESH_POINT) | 2959 | if (sc->opmode == NL80211_IFTYPE_MESH_POINT) |
2960 | rfilt |= AR5K_RX_FILTER_CONTROL | AR5K_RX_FILTER_BEACON | | 2960 | rfilt |= AR5K_RX_FILTER_CONTROL | AR5K_RX_FILTER_BEACON | |
2961 | AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM; | 2961 | AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM; |