From: Luciano Coelho Date: Tue, 21 Apr 2015 10:34:10 +0000 (+0300) Subject: iwlwifi: mvm: reorganize scan stopping functions X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~139^2^2~31 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62a6b9c8c9483205124f52e35dd5af43eebe3a16;p=pandora-kernel.git iwlwifi: mvm: reorganize scan stopping functions The iwl_mvm_scan_offload_stop() function is used to stop LMAC regular scan, stop LMAC scheduled scan and stop UMAC scheduled scans (but not UMAC regular scans), making it very difficult to read. Reorganize the scan stopping functions by creating separate functions to stop regular and scheduled scans, separating the LMAC stopping part of the code from the rest and renaming the offload_stop function to iwl_mvm_lmac_scan_stop(). Signed-off-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed