|
@@ -1158,6 +1158,7 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy,
|
|
|
case NL80211_IFTYPE_UNSPECIFIED:
|
|
|
mwifiex_dbg(priv->adapter, INFO,
|
|
|
"%s: kept type as IBSS\n", dev->name);
|
|
|
+ /* fall through */
|
|
|
case NL80211_IFTYPE_ADHOC: /* This shouldn't happen */
|
|
|
return 0;
|
|
|
default:
|
|
@@ -1188,6 +1189,7 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy,
|
|
|
case NL80211_IFTYPE_UNSPECIFIED:
|
|
|
mwifiex_dbg(priv->adapter, INFO,
|
|
|
"%s: kept type as STA\n", dev->name);
|
|
|
+ /* fall through */
|
|
|
case NL80211_IFTYPE_STATION: /* This shouldn't happen */
|
|
|
return 0;
|
|
|
default:
|
|
@@ -1210,6 +1212,7 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy,
|
|
|
case NL80211_IFTYPE_UNSPECIFIED:
|
|
|
mwifiex_dbg(priv->adapter, INFO,
|
|
|
"%s: kept type as AP\n", dev->name);
|
|
|
+ /* fall through */
|
|
|
case NL80211_IFTYPE_AP: /* This shouldn't happen */
|
|
|
return 0;
|
|
|
default:
|
|
@@ -1249,6 +1252,7 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy,
|
|
|
case NL80211_IFTYPE_UNSPECIFIED:
|
|
|
mwifiex_dbg(priv->adapter, INFO,
|
|
|
"%s: kept type as P2P\n", dev->name);
|
|
|
+ /* fall through */
|
|
|
case NL80211_IFTYPE_P2P_CLIENT:
|
|
|
case NL80211_IFTYPE_P2P_GO:
|
|
|
return 0;
|