]> Pileus Git - ~andy/linux/commitdiff
ath9k: advertise support for active monitor interfaces
authorFelix Fietkau <nbd@openwrt.org>
Tue, 28 May 2013 11:01:54 +0000 (13:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:55:45 +0000 (15:55 -0400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c

index 0536d442b0682950d3b5aa2d7aeeda2e8c8b1cc4..db483b473a4cba0fc7e7a044ed6e6e220f7d1834 100644 (file)
@@ -778,6 +778,8 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
        if (AR_SREV_9160_10_OR_LATER(sc->sc_ah) || ath9k_modparam_nohwcrypt)
                hw->flags |= IEEE80211_HW_MFP_CAPABLE;
 
+       hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR;
+
        hw->wiphy->interface_modes =
                BIT(NL80211_IFTYPE_P2P_GO) |
                BIT(NL80211_IFTYPE_P2P_CLIENT) |