From: Sujith Manoharan Date: Wed, 13 Apr 2011 05:57:06 +0000 (+0530) Subject: ath9k_htc: Enable AP and P2P modes X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~384 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09d5b94d2cbc6c3ebb70a9a318f6390d0b4cf010;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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;