]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Clear "beacon_found" on regulatory restore
authorPaul Stewart <pstew@chromium.org>
Wed, 1 Aug 2012 23:54:42 +0000 (16:54 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 2 Aug 2012 13:34:22 +0000 (15:34 +0200)
commit864f2566754a1036b6590ac86b11463fdf0d3ff8
tree2327783f8779d3267c8d310521973b4b4d600d3d
parent1737255ce8a492d1e7f33d570de50b2de0e6c2eb
cfg80211: Clear "beacon_found" on regulatory restore

Restore the default state to the "beacon_found" flag when
the channel flags are restored.  Otherwise, we can end up
with a channel that we can no longer transmit on even when
we can see beacons on that channel.

Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c