diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index ce62b163b82c..89ce4e07bd84 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -428,8 +428,6 @@ void ieee80211_iterate_active_interfaces( | |||
428 | case IEEE80211_IF_TYPE_MESH_POINT: | 428 | case IEEE80211_IF_TYPE_MESH_POINT: |
429 | break; | 429 | break; |
430 | } | 430 | } |
431 | if (sdata->dev == local->mdev) | ||
432 | continue; | ||
433 | if (netif_running(sdata->dev)) | 431 | if (netif_running(sdata->dev)) |
434 | iterator(data, sdata->dev->dev_addr, | 432 | iterator(data, sdata->dev->dev_addr, |
435 | &sdata->vif); | 433 | &sdata->vif); |
@@ -463,8 +461,6 @@ void ieee80211_iterate_active_interfaces_atomic( | |||
463 | case IEEE80211_IF_TYPE_MESH_POINT: | 461 | case IEEE80211_IF_TYPE_MESH_POINT: |
464 | break; | 462 | break; |
465 | } | 463 | } |
466 | if (sdata->dev == local->mdev) | ||
467 | continue; | ||
468 | if (netif_running(sdata->dev)) | 464 | if (netif_running(sdata->dev)) |
469 | iterator(data, sdata->dev->dev_addr, | 465 | iterator(data, sdata->dev->dev_addr, |
470 | &sdata->vif); | 466 | &sdata->vif); |