mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
mwifiex: Handle interface type changes from AP to STATION
Looks like this case was simply overseen, so handle it, too. Signed-off-by: Jonas Dreßler <verdre@v0yd.nl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210914195909.36035-8-verdre@v0yd.nl
This commit is contained in:
parent
25bbec30a2
commit
5e2e1a4bf4
@ -1268,6 +1268,7 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user