]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: clear sdata->radar_required
authorEliad Peller <eliad@wizery.com>
Sun, 8 Feb 2015 10:36:07 +0000 (12:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Feb 2015 09:51:06 +0000 (10:51 +0100)
commit8f97712a2f62289af22348434a2485300a3f7116
tree2a540aa4c945e9308bf37903791a8b4fd7d55e45
parent963ce173b62acaee76d5ac6a6759c48fc8182d2b
mac80211: clear sdata->radar_required

If ieee80211_vif_use_channel() fails, we have to clear
sdata->radar_required (which we might have just set).

Failing to do it results in stale radar_required field
which prevents starting new scan requests.

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Eliad Peller <eliad@wizery.com>
[use false instead of 0]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c