]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use oper_channel in mesh
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:51 +0000 (16:18 +0200)
commita6e27909443baa92fc192c121070d67a0ca750d1
tree7633bdfa5fe461bace0f9f265ad6ad12b569c5ef
parent130726c4f91ac6dfdebb6f2f68e5a18d0305fdc8
mac80211: use oper_channel in mesh

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