]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use oper_channel in ibss
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:52 +0000 (16:18 +0200)
commit7b9bdf40531cfcf6bd10a025a34161646ba19fa2
tree83406aa63d3c72c3e13e2c1049c968073e1320c5
parent1604a6aa188e358ca4cc922039d2d38c5519c804
mac80211: use oper_channel in ibss

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/ibss.c