]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae5155863f910e6798281bb744cb58a24404216c
treeb762effd6672ba47cf85a761ac24e73333d6f6bb
parent6c9371b134122131784bbb1dd7ae6c31fa52a7d6
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