diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 15503ca3e945..ba81cf542818 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -471,7 +471,7 @@ void ieee80211_iterate_active_interfaces( | |||
471 | rcu_read_lock(); | 471 | rcu_read_lock(); |
472 | 472 | ||
473 | list_for_each_entry_rcu(sdata, &local->interfaces, list) { | 473 | list_for_each_entry_rcu(sdata, &local->interfaces, list) { |
474 | switch (sdata->type) { | 474 | switch (sdata->vif.type) { |
475 | case IEEE80211_IF_TYPE_INVALID: | 475 | case IEEE80211_IF_TYPE_INVALID: |
476 | case IEEE80211_IF_TYPE_MNTR: | 476 | case IEEE80211_IF_TYPE_MNTR: |
477 | case IEEE80211_IF_TYPE_VLAN: | 477 | case IEEE80211_IF_TYPE_VLAN: |