ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Mar 2011 00:37:25 +0000 (00:37 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Mar 2011 00:37:25 +0000 (00:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25963 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/550-ath9k_no_vif_promisc_handling.patch [new file with mode: 0644]

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 (file)
index 0000000..c3a9663
--- /dev/null
@@ -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)
This page took 0.028121 seconds and 4 git commands to generate.