ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 522-ath9k_fix_pspoll_recv.patch
1 --- a/drivers/net/wireless/ath/ath9k/recv.c
2 +++ b/drivers/net/wireless/ath/ath9k/recv.c
3 @@ -426,9 +426,7 @@ u32 ath_calcrxfilter(struct ath_softc *s
4 else
5 rfilt |= ATH9K_RX_FILTER_BEACON;
6
7 - if ((AR_SREV_9280_20_OR_LATER(sc->sc_ah) ||
8 - AR_SREV_9285_12_OR_LATER(sc->sc_ah)) &&
9 - (sc->sc_ah->opmode == NL80211_IFTYPE_AP) &&
10 + if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) ||
11 (sc->rx.rxfilter & FIF_PSPOLL))
12 rfilt |= ATH9K_RX_FILTER_PSPOLL;
13