diff options
Diffstat (limited to 'net/mac80211/ieee80211_iface.c')
-rw-r--r-- | net/mac80211/ieee80211_iface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_iface.c b/net/mac80211/ieee80211_iface.c index 369ee4f52a29..60cee6e602d2 100644 --- a/net/mac80211/ieee80211_iface.c +++ b/net/mac80211/ieee80211_iface.c | |||
@@ -243,6 +243,9 @@ void ieee80211_if_reinit(struct net_device *dev) | |||
243 | ieee80211_if_sdata_deinit(sdata); | 243 | ieee80211_if_sdata_deinit(sdata); |
244 | 244 | ||
245 | switch (sdata->type) { | 245 | switch (sdata->type) { |
246 | case IEEE80211_IF_TYPE_MGMT: | ||
247 | /* nothing to do */ | ||
248 | break; | ||
246 | case IEEE80211_IF_TYPE_AP: { | 249 | case IEEE80211_IF_TYPE_AP: { |
247 | /* Remove all virtual interfaces that use this BSS | 250 | /* Remove all virtual interfaces that use this BSS |
248 | * as their sdata->bss */ | 251 | * as their sdata->bss */ |