summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k
diff options
context:
space:
mode:
authorLuis R. Rodriguez2008-11-03 23:43:00 +0100
committerJohn W. Linville2008-11-21 17:06:06 +0100
commit296bf2aefdf7b4b1bf093a7b42a86ee21b46d07f (patch)
tree1f43c1c5e05f3b3670b84845a9aece3cccd07975 /drivers/net/wireless/ath5k
parentath5k: Fix IMR init (diff)
downloadkernel-qcow2-linux-296bf2aefdf7b4b1bf093a7b42a86ee21b46d07f.tar.gz
kernel-qcow2-linux-296bf2aefdf7b4b1bf093a7b42a86ee21b46d07f.tar.xz
kernel-qcow2-linux-296bf2aefdf7b4b1bf093a7b42a86ee21b46d07f.zip
ath5k: allow APs to receive beacons
Allow APs to receive beacons to detect when it needs to use protection to update the NAV correctly on 11b stations. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k')
-rw-r--r--drivers/net/wireless/ath5k/base.c4
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,
test_bit(ATH_STAT_PROMISC, sc->status))
rfilt |= AR5K_RX_FILTER_PROM;
if (sc->opmode == NL80211_IFTYPE_STATION ||
- sc->opmode == NL80211_IFTYPE_ADHOC) {
+ sc->opmode == NL80211_IFTYPE_ADHOC ||
+ sc->opmode == NL80211_IFTYPE_AP)
rfilt |= AR5K_RX_FILTER_BEACON;
- }
if (sc->opmode == NL80211_IFTYPE_MESH_POINT)
rfilt |= AR5K_RX_FILTER_CONTROL | AR5K_RX_FILTER_BEACON |
AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM;