]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use oper_channel in managed mlme
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jul 2012 12:29:21 +0000 (14:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:18:53 +0000 (16:18 +0200)
commit5eb63df15fad6ba39e0eb39694ae073871322c9c
tree919923260707a19ab051f764c5b1282262913567
parent3daec3731ba86ce76f29ec69f445c2623d6b73c4
mac80211: use oper_channel in managed mlme

Using hw.conf.channel is wrong as it could be the
temporary channel if any function like the beacon
get function is called while scanning or during
other temporary out-of-channel activities.

Use oper_channel instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c