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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26316 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2011-03-27 14:27:32 +00:00
parent 31cc6d3c79
commit fc02260930
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;