summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-09 00:37:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-09 00:37:25 +0000
commit1b7f3d2a31d2859ae015f3f1a156c66f237176ae (patch)
tree49eef5ee4d69aedebbc7fec84916c5c976ae9bb4 /package
parente52b720870c23511cfc9323a784694c9dd24a0ab (diff)
downloadmtk-20170518-1b7f3d2a31d2859ae015f3f1a156c66f237176ae.zip
mtk-20170518-1b7f3d2a31d2859ae015f3f1a156c66f237176ae.tar.gz
mtk-20170518-1b7f3d2a31d2859ae015f3f1a156c66f237176ae.tar.bz2
ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and in-bss promisc mode is not particularly useful. should fix most (or all) instances of "ath: Could not stop RX..." error messages
SVN-Revision: 25963
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/550-ath9k_no_vif_promisc_handling.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/550-ath9k_no_vif_promisc_handling.patch b/package/mac80211/patches/550-ath9k_no_vif_promisc_handling.patch
new file mode 100644
index 0000000..c3a9663
--- /dev/null
+++ b/package/mac80211/patches/550-ath9k_no_vif_promisc_handling.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/ath9k/recv.c
++++ b/drivers/net/wireless/ath/ath9k/recv.c
+@@ -413,9 +413,7 @@ u32 ath_calcrxfilter(struct ath_softc *s
+ * mode interface or when in monitor mode. AP mode does not need this
+ * since it receives all in-BSS frames anyway.
+ */
+- if (((sc->sc_ah->opmode != NL80211_IFTYPE_AP) &&
+- (sc->rx.rxfilter & FIF_PROMISC_IN_BSS)) ||
+- (sc->sc_ah->is_monitoring))
++ if (sc->sc_ah->is_monitoring)
+ rfilt |= ATH9K_RX_FILTER_PROM;
+
+ if (sc->rx.rxfilter & FIF_CONTROL)