diff options
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 6b3cd65d1e07..daa50ea15f46 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -1342,6 +1342,9 @@ u32 __ieee80211_recalc_idle(struct ieee80211_local *local) | |||
1342 | hw_roc = true; | 1342 | hw_roc = true; |
1343 | 1343 | ||
1344 | list_for_each_entry(sdata, &local->interfaces, list) { | 1344 | list_for_each_entry(sdata, &local->interfaces, list) { |
1345 | if (sdata->vif.type == NL80211_IFTYPE_MONITOR || | ||
1346 | sdata->vif.type == NL80211_IFTYPE_AP_VLAN) | ||
1347 | continue; | ||
1345 | if (sdata->old_idle == sdata->vif.bss_conf.idle) | 1348 | if (sdata->old_idle == sdata->vif.bss_conf.idle) |
1346 | continue; | 1349 | continue; |
1347 | if (!ieee80211_sdata_running(sdata)) | 1350 | if (!ieee80211_sdata_running(sdata)) |