From: Arik Nemtsov Date: Mon, 10 Feb 2014 10:49:39 +0000 (+0200) Subject: iwlwifi: mvm: abort scan on sched_scan request X-Git-Tag: v3.15-rc1~113^2~93^2^2~12^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91b80256b6ef64c3ec21210f7b4a0256c2c47f64;p=pandora-kernel.git iwlwifi: mvm: abort scan on sched_scan request A scheduled scan is a more persistent setting and should take priority over temporary regular scans. Abort the regular when a sched_scan request arrives and then request the sched_scan. The kernel API allows sending a sched_scan without canceling a regular scan in progress, so this is our way to abstract the FW's limitations. Make the scan-cancel Rx handler async and flush after invocation to ensure new scans can't creep in before it. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed