summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2021-09-14 22:59:07 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-09-21 18:02:18 +0300
commit5e2e1a4bf4a162d9369a35e62fbb8c7977b54a12 (patch)
treeb8efdd429c62bcf722a1e04eb869011eaa42aaa5 /drivers/net/wireless/marvell/mwifiex/cfg80211.c
parent25bbec30a2c7854b5d07eb2220258ed0d9f20c0d (diff)
downloadlinux-5e2e1a4bf4a162d9369a35e62fbb8c7977b54a12.tar.xz
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
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/cfg80211.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/cfg80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index ed4041ff9c89..64caa5c4350d 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -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;