aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath9k/recv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c
index 8da08f9b463c..630fa57f14ed 100644
--- a/drivers/net/wireless/ath9k/recv.c
+++ b/drivers/net/wireless/ath9k/recv.c
@@ -372,6 +372,9 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
372 rfilt &= ~ATH9K_RX_FILTER_UCAST; 372 rfilt &= ~ATH9K_RX_FILTER_UCAST;
373 } 373 }
374 374
375 if (sc->rx.rxfilter & FIF_CONTROL)
376 rfilt |= ATH9K_RX_FILTER_CONTROL;
377
375 if (sc->sc_ah->ah_opmode == NL80211_IFTYPE_STATION || 378 if (sc->sc_ah->ah_opmode == NL80211_IFTYPE_STATION ||
376 sc->sc_ah->ah_opmode == NL80211_IFTYPE_ADHOC) 379 sc->sc_ah->ah_opmode == NL80211_IFTYPE_ADHOC)
377 rfilt |= ATH9K_RX_FILTER_BEACON; 380 rfilt |= ATH9K_RX_FILTER_BEACON;