mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix...
[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)