]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use oper_channel in rate init
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jul 2012 12:29:21 +0000 (14:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:41 +0000 (14:13 +0200)
commit57ef58e7917168c1ac9cfe83b54bc9550d8cf21e
tree1dd1ffc5779e22015ea55e2911708f1c4156425a
parentace791de3bc07c094d7f51ebd3fffc35aae56ee0
mac80211: use oper_channel in rate init

Using hw.conf.channel is wrong as it could be the
temporary channel if the station is added from the
workqueue while the device is already on another
channel. Use oper_channel instead.

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