]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: fix FTM settings across CSA
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Oct 2018 08:17:44 +0000 (09:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 07:56:58 +0000 (08:56 +0100)
commitcf0eef352ea4f1e6816d52f7781868dd74a1e797
tree8501101ca8914e24a29f2bd3816e62acdfc69809
parent8c84a92a75cb400dc9739935795de10bbcffe1e0
cfg80211/mac80211: fix FTM settings across CSA

When FTM is enabled, doing a CSA will unexpectedly lose it since
the value of ftm_responder may be initialized to 0 instead of -1,
so fix that.

Fixes: 7849bb3032dc ("cfg80211: support FTM responder configuration/statistics")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c