From: Arik Nemtsov Date: Mon, 10 Feb 2014 13:34:29 +0000 (+0200) Subject: iwlwifi: mvm: wait for stop sched-scan completion X-Git-Tag: v3.15-rc1~113^2~93^2^2~12^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ea27f66afa9ca3e130bd00c595dca509152fd7;p=pandora-kernel.git iwlwifi: mvm: wait for stop sched-scan completion cfg80211 assumes a scheduled scan is stopped synchronously. Wait for the FW before returning to caller. Don't do anything in the async handler in the stop-from-above flow. There's no need to call the mac80211 sched-scan completion as the cleanup will be automatic. Make sure the async handler is called before the next incoming scan changes the scan_status by flushing the async handlers after all invocations. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed