diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-01-24 09:40:43 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-04-19 22:20:52 +0300 |
commit | fd2103570125be186cdb0115abc2fecb6e582aa4 (patch) | |
tree | 14cf83446ffee63d74c763fe3df0b7d8562a6c71 /drivers/net/wireless/intel/iwlwifi/mvm/scan.c | |
parent | ab6c644539e98be3d73702c84f8f9efc789391f0 (diff) | |
download | linux-stable-fd2103570125be186cdb0115abc2fecb6e582aa4.tar.gz linux-stable-fd2103570125be186cdb0115abc2fecb6e582aa4.tar.bz2 linux-stable-fd2103570125be186cdb0115abc2fecb6e582aa4.zip |
iwlwifi: mvm: remove unnecessary debugging from UMAC scan
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>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/scan.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c index ce6a2b3b021e..9668f945b4e6 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c @@ -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); |