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)
commitf9e6e95b63758202fe2ce43bd7c922db2ff50f80
tree1dd1ffc5779e22015ea55e2911708f1c4156425a
parent9e99a127b5724d7a2cd9d2973b10981d56e1d647
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