]> git.karo-electronics.de Git - karo-tx-linux.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)
commit899852af60c212bfe9a2fb71d4d9082d2622df5c
tree2327783f8779d3267c8d310521973b4b4d600d3d
parent03f6b0843ad6512f27bc2e48f04c21065311e03e
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