Skip to contentSkip to conversation

ath9k: Handle mac80211's FIF_CONTROL flag properly

PATCH New Sujith 1 participant 1 message Feb 4, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Sujith

author
#0 lore raw

PATCH 3/4 ath9k: Handle mac80211's FIF_CONTROL flag properly

---
 drivers/net/wireless/ath9k/recv.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/net/wireless/ath9k/recv.c +3 -0
index 8da08f9..630fa57 100644
@@ -372,6 +372,9 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
 		rfilt &= ~ATH9K_RX_FILTER_UCAST;
 	}
 
+	if (sc->rx.rxfilter & FIF_CONTROL)
+		rfilt |= ATH9K_RX_FILTER_CONTROL;
+
 	if (sc->sc_ah->ah_opmode == NL80211_IFTYPE_STATION ||
 	    sc->sc_ah->ah_opmode == NL80211_IFTYPE_ADHOC)
 		rfilt |= ATH9K_RX_FILTER_BEACON;
Signature · 1 line
1.6.1