]> 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)
commit37b969304176d9793f768102453ae70190db4250
tree2b0c3ea40b1a652105eefc22032046fd59a0ad0f
parentde82ea7864f7a0b50cd2839c2107c83fabff3b33
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