diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-11-26 10:38:04 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-29 19:41:28 (GMT) |
commit | c426ee247e40a70490f3d67d3c9c7d1aba54516f (patch) | |
tree | 96a5ce67aca5d1f113433c241405fd2ab82792cb /drivers/net/wireless/ath/ath9k/init.c | |
parent | 98c316e348bedffa730e6f1e4baeb8a3c3e0f28b (diff) | |
download | linux-fsl-qoriq-c426ee247e40a70490f3d67d3c9c7d1aba54516f.tar.xz |
ath9k/carl9170: advertise P2P
With some upcoming changes we'd like to use
the interface types for P2P capability tests.
Enable them now so that when we add those
tests in wpa_supplicant, nothing will break.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index c29eea2..14b8ab3 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -661,6 +661,8 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) hw->flags |= IEEE80211_HW_MFP_CAPABLE; hw->wiphy->interface_modes = + BIT(NL80211_IFTYPE_P2P_GO) | + BIT(NL80211_IFTYPE_P2P_CLIENT) | BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_WDS) | BIT(NL80211_IFTYPE_STATION) | |