]> 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)
commita54b26c6b162f58e37b482ff44414abf0234b3d9
tree2a540aa4c945e9308bf37903791a8b4fd7d55e45
parentf199751a89e3bc1e9f8800015fba2ea272454212
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