aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 459d7004b620..cea885617d61 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1557,17 +1557,13 @@ static int ath6kl_cfg80211_change_iface(struct wiphy *wiphy,
1557set_iface_type: 1557set_iface_type:
1558 switch (type) { 1558 switch (type) {
1559 case NL80211_IFTYPE_STATION: 1559 case NL80211_IFTYPE_STATION:
1560 case NL80211_IFTYPE_P2P_CLIENT:
1560 vif->next_mode = INFRA_NETWORK; 1561 vif->next_mode = INFRA_NETWORK;
1561 break; 1562 break;
1562 case NL80211_IFTYPE_ADHOC: 1563 case NL80211_IFTYPE_ADHOC:
1563 vif->next_mode = ADHOC_NETWORK; 1564 vif->next_mode = ADHOC_NETWORK;
1564 break; 1565 break;
1565 case NL80211_IFTYPE_AP: 1566 case NL80211_IFTYPE_AP:
1566 vif->next_mode = AP_NETWORK;
1567 break;
1568 case NL80211_IFTYPE_P2P_CLIENT:
1569 vif->next_mode = INFRA_NETWORK;
1570 break;
1571 case NL80211_IFTYPE_P2P_GO: 1567 case NL80211_IFTYPE_P2P_GO:
1572 vif->next_mode = AP_NETWORK; 1568 vif->next_mode = AP_NETWORK;
1573 break; 1569 break;