]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ath9k: Handle mac80211's FIF_CONTROL flag properly
authorSujith <Sujith.Manoharan@atheros.com>
Wed, 4 Feb 2009 02:40:22 +0000 (08:10 +0530)
committerJohn 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

index 8da08f9b463ca6c583765c6828a59f64c785244f..630fa57f14ed86f9c336b51035d85632b22979d5 100644 (file)
@@ -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;