ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 27 Mar 2011 14:27:32 +0000 (14:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Mar 2011 14:27:32 +0000 (14:27 +0000)
SVN-Revision: 26316

package/mac80211/patches/522-ath9k_fix_pspoll_recv.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/522-ath9k_fix_pspoll_recv.patch b/package/mac80211/patches/522-ath9k_fix_pspoll_recv.patch
new file mode 100644 (file)
index 0000000..35f9f7f
--- /dev/null
@@ -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;