mac80211: Do not restart scheduled scan if multiple scan plans are set
authorAvraham Stern <avraham.stern@intel.com>
Mon, 12 Oct 2015 06:51:35 +0000 (09:51 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Oct 2015 08:35:51 +0000 (10:35 +0200)
commite2845c458ea27e924b0f2cbd647ba43e810305a5
treeb762effd6672ba47cf85a761ac24e73333d6f6bb
parent3b06d277957c7af705a9c0cdda4b371759efb717
mac80211: Do not restart scheduled scan if multiple scan plans are set

If multiple scan plans were set for scheduled scan, do not restart
scheduled scan on reconfig because it is possible that some scan
plans were already completed and there is no need to run them all
over again. Instead, notify userspace that scheduled scan stopped
so it can configure new scan plans for scheduled scan.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c