]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit948f2ae7ae49b615f356514593206c9134c41ebe
tree35d87a3631699ee7bed7296731bc86a4ea767a3c
parent8bcb4e000aab841009074476611456f0deb7055b
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