From: Luciano Coelho Date: Fri, 20 Mar 2015 07:29:42 +0000 (+0200) Subject: iwlwifi: mvm: check if scan can be started before cancelling other scans X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~33^2~34 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4171bb3346dd8e9f3e996fd43271616181208285;p=pandora-kernel.git iwlwifi: mvm: check if scan can be started before cancelling other scans If a new scan cannot be run for some reason, we shouldn't cancel other ongoing scans. Move the checks to before the code that cancels other scans. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed