projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
254ad0f
)
ath9k: Handle mac80211's FIF_CONTROL flag properly
author
Sujith
<Sujith.Manoharan@atheros.com>
Wed, 4 Feb 2009 02:40:22 +0000
(08:10 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 11 Feb 2009 16:44:22 +0000
(11:44 -0500)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/recv.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath9k/recv.c
b/drivers/net/wireless/ath9k/recv.c
index 8da08f9b463ca6c583765c6828a59f64c785244f..630fa57f14ed86f9c336b51035d85632b22979d5 100644
(file)
--- 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)
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;