aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-27 14:27:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-27 14:27:32 +0000
commitfc02260930dd72230da83c49c328ca4be110f18c (patch)
tree960c272f48002146e8a4f5c8cf55228878946e6c
parent31cc6d3c794e3d0849a9a3d17fbd0add381fb2c0 (diff)
downloadmaster-187ad058-fc02260930dd72230da83c49c328ca4be110f18c.tar.gz
master-187ad058-fc02260930dd72230da83c49c328ca4be110f18c.tar.bz2
master-187ad058-fc02260930dd72230da83c49c328ca4be110f18c.zip
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
-rw-r--r--package/mac80211/patches/522-ath9k_fix_pspoll_recv.patch13
1 files changed, 13 insertions, 0 deletions
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
index 0000000000..35f9f7f5e5
--- /dev/null
+++ b/package/mac80211/patches/522-ath9k_fix_pspoll_recv.patch
@@ -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;
+