aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-18 19:31:27 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:37 -0500
commit51fb61e76d952e6bc2fbdd9f0d38425fbab1cf31 (patch)
tree09618b395aae1b91fbc8dec7ea9397a9654a9f0f /net/mac80211/util.c
parent32bfd35d4b63bd63de4bb0d791ef049c3c868726 (diff)
mac80211: move interface type to vif structure
Drivers that support mixed AP/STA operation may well need to know the type of a virtual interface when iterating over them. The easiest way to support that is to move the interface type variable into the vif structure. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
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: