mac80211: iterate the virtual monitor interface
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 Jul 2012 14:38:09 +0000 (16:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 10:10:50 +0000 (12:10 +0200)
commit685fb72b63faf09a767cc28332545f5830b91be8
tree236e971df0e369a17a4938131ff20d4b60ec568d
parent8e95ea49c94908cb10e698c5637d57f0fbdc796d
mac80211: iterate the virtual monitor interface

If the virtual monitor interface is requested
by the driver, it should also be iterated over
when the driver wants to iterate all active
interfaces.

To allow that protect it with the iflist_mtx.

Change-Id: I58ac5de2f4ce93d12c5a98ecd2859f60158d5d69
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c
net/mac80211/util.c