Browse Source

mwifiex: do not support change AP interface to station mode

Firmware do not support change interface from micro-ap mode
to station mode, forbid this operation

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Xinming Hu 7 years ago
parent
commit
71121e420d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/net/wireless/marvell/mwifiex/cfg80211.c

+ 0 - 1
drivers/net/wireless/marvell/mwifiex/cfg80211.c

@@ -1180,7 +1180,6 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy,
 	case NL80211_IFTYPE_AP:
 		switch (type) {
 		case NL80211_IFTYPE_ADHOC:
-		case NL80211_IFTYPE_STATION:
 			return mwifiex_change_vif_to_sta_adhoc(dev, curr_iftype,
 							       type, params);
 			break;