mirror of https://github.com/hak5/openwrt.git
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: 25963lede-17.01
parent
e52b720870
commit
1b7f3d2a31
|
@ -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)
|
Loading…
Reference in New Issue