diff options
author | Eliad Peller <eliad@wizery.com> | 2015-12-16 15:45:45 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-01-14 11:10:16 +0100 |
commit | b9f628fcc673ba582cc7a17c4fd9be01133e61bd (patch) | |
tree | 7eaf77fbbd68affb1b9c22201776e33ce04c6c6a /include/linux/i2c-gpio.h | |
parent | 470f4d613b51806e15e055428234a04a99f076fc (diff) | |
download | op-kernel-dev-b9f628fcc673ba582cc7a17c4fd9be01133e61bd.zip op-kernel-dev-b9f628fcc673ba582cc7a17c4fd9be01133e61bd.tar.gz |
mac80211: clear local->sched_scan_req properly on reconfig
On reconfig, in case of sched_scan_req->n_scan_plans > 1,
local->sched_scan_req was never cleared, although
cfg80211_sched_scan_stopped_rtnl() was called, resulting
in local->sched_scan_req holding a stale and preventing
further scheduled scan requests.
Clear it explicitly in this case.
Fixes: 42a7e82c6792 ("mac80211: Do not restart scheduled scan if multiple scan plans are set")
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/i2c-gpio.h')
0 files changed, 0 insertions, 0 deletions