diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-07 13:24:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-12 16:57:36 -0400 |
commit | 264bbec811024e39fe8f9e7a45743f81f373529e (patch) | |
tree | 27fc7e3bee078882e551c3ceda4b6dc4f51de0bd /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 6a35a0ac5771fa962c45926678d1f194cbc98c4e (diff) |
ath9k: fix PS-Poll reception on AR9160 and earlier
I can't find any valid reason for not setting the ATH9K_RX_FILTER_PSPOLL
flag on older hardware and neither the documentation nor the reference
code mention any reason for excluding older hardware here.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 3842b7518661..ef198ae71eb7 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -426,9 +426,7 @@ u32 ath_calcrxfilter(struct ath_softc *sc) | |||
426 | else | 426 | else |
427 | rfilt |= ATH9K_RX_FILTER_BEACON; | 427 | rfilt |= ATH9K_RX_FILTER_BEACON; |
428 | 428 | ||
429 | if ((AR_SREV_9280_20_OR_LATER(sc->sc_ah) || | 429 | if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) || |
430 | AR_SREV_9285_12_OR_LATER(sc->sc_ah)) && | ||
431 | (sc->sc_ah->opmode == NL80211_IFTYPE_AP) && | ||
432 | (sc->rx.rxfilter & FIF_PSPOLL)) | 430 | (sc->rx.rxfilter & FIF_PSPOLL)) |
433 | rfilt |= ATH9K_RX_FILTER_PSPOLL; | 431 | rfilt |= ATH9K_RX_FILTER_PSPOLL; |
434 | 432 | ||