ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 550-ath9k_no_vif_promisc_handling.patch
1 --- a/drivers/net/wireless/ath/ath9k/recv.c
2 +++ b/drivers/net/wireless/ath/ath9k/recv.c
3 @@ -413,9 +413,7 @@ u32 ath_calcrxfilter(struct ath_softc *s
4 * mode interface or when in monitor mode. AP mode does not need this
5 * since it receives all in-BSS frames anyway.
6 */
7 - if (((sc->sc_ah->opmode != NL80211_IFTYPE_AP) &&
8 - (sc->rx.rxfilter & FIF_PROMISC_IN_BSS)) ||
9 - (sc->sc_ah->is_monitoring))
10 + if (sc->sc_ah->is_monitoring)
11 rfilt |= ATH9K_RX_FILTER_PROM;
12
13 if (sc->rx.rxfilter & FIF_CONTROL)