mac80211: use oper_channel in utils and config
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:55 +0000 (16:18 +0200)
commit679ef4eadde1f8e55074427c0d8de2da55ca81f9
tree35d87a3631699ee7bed7296731bc86a4ea767a3c
parent568d6e289736c9c78cd8723aa81415daffafeff9
mac80211: use oper_channel in utils and config

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/cfg.c
net/mac80211/iface.c
net/mac80211/util.c