mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 03:04:35 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25963 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
516 B
Diff
14 lines
516 B
Diff
--- 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)
|