]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: mvm: remove unnecessary debugging from UMAC scan
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 24 Jan 2017 07:40:43 +0000 (09:40 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:20:52 +0000 (22:20 +0300)
There are several occasions where a scan of the same type is requested
concurrently, so logging every time this happens is just noisy and
unnecessary.  Remove the logging for these cases.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c

index ce6a2b3b021e540c047ada2f9ac1553029e174cc..9668f945b4e6fc4301dc28b74492e7e82c97413a 100644 (file)
@@ -1037,11 +1037,8 @@ int iwl_mvm_config_scan(struct iwl_mvm *mvm)
        if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels))
                return -ENOBUFS;
 
-       if (type == mvm->scan_type) {
-               IWL_DEBUG_SCAN(mvm,
-                              "Ignoring UMAC scan config of the same type\n");
+       if (type == mvm->scan_type)
                return 0;
-       }
 
        if (iwl_mvm_has_new_tx_api(mvm))
                cmd_size = sizeof(struct iwl_scan_config);