ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips

SVN-Revision: 26316
This commit is contained in:
Felix Fietkau 2011-03-27 14:27:32 +00:00
parent f16824c63f
commit da0ac5027e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- 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 *s
else
rfilt |= ATH9K_RX_FILTER_BEACON;
- if ((AR_SREV_9280_20_OR_LATER(sc->sc_ah) ||
- AR_SREV_9285_12_OR_LATER(sc->sc_ah)) &&
- (sc->sc_ah->opmode == NL80211_IFTYPE_AP) &&
+ if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) ||
(sc->rx.rxfilter & FIF_PSPOLL))
rfilt |= ATH9K_RX_FILTER_PSPOLL;