diff options
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index 52638194e45f..b1180536c335 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c | |||
@@ -344,6 +344,13 @@ static int ieee80211_open(struct net_device *dev) | |||
344 | if (!sdata->u.vlan.ap) | 344 | if (!sdata->u.vlan.ap) |
345 | return -ENOLINK; | 345 | return -ENOLINK; |
346 | break; | 346 | break; |
347 | case IEEE80211_IF_TYPE_AP: | ||
348 | case IEEE80211_IF_TYPE_MGMT: | ||
349 | case IEEE80211_IF_TYPE_STA: | ||
350 | case IEEE80211_IF_TYPE_MNTR: | ||
351 | case IEEE80211_IF_TYPE_IBSS: | ||
352 | /* no special treatment */ | ||
353 | break; | ||
347 | } | 354 | } |
348 | 355 | ||
349 | if (local->open_count == 0) { | 356 | if (local->open_count == 0) { |