]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0f52bc0acd9b4e9409f12d0346cddf8b099b2f8
tree2b0c3ea40b1a652105eefc22032046fd59a0ad0f
parent24d507c687dcc12812e3caf1bc6a7323897fbaa4
mac80211: fix virtual monitor interface iteration

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