Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71121e42 authored by Xinming Hu's avatar Xinming Hu Committed by Kalle Valo
Browse files

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: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarXinming Hu <huxm@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent c4ee30a2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;