mac80211: fix virtual monitor interface iteration
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Jan 2014 12:28:02 +0000 (13:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Feb 2014 08:55:22 +0000 (09:55 +0100)
During channel context assignment, the interface should
be found by interface iteration, so we need to assign the
pointer before the channel context.

Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Tested-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c

Simple merge