From: Sujith Manoharan Date: Wed, 13 Apr 2011 05:57:06 +0000 (+0530) Subject: ath9k_htc: Enable AP and P2P modes X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~2759^2~16^2~384 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=09d5b94d2cbc6c3ebb70a9a318f6390d0b4cf010;p=mirror_ubuntu-zesty-kernel.git ath9k_htc: Enable AP and P2P modes Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 0aec25920c0a..22736eb901cf 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -752,7 +752,10 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv, hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | - BIT(NL80211_IFTYPE_ADHOC); + BIT(NL80211_IFTYPE_ADHOC) | + BIT(NL80211_IFTYPE_AP) | + BIT(NL80211_IFTYPE_P2P_GO) | + BIT(NL80211_IFTYPE_P2P_CLIENT); hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;