diff options
author | Max Stepanov <Max.Stepanov@intel.com> | 2016-01-04 04:09:14 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-02-01 09:40:24 -0500 |
commit | 1c4e15a23d27e2efd56d2b9b7436bff060f126ef (patch) | |
tree | afb85fcec48292cf4adc6b669e689eea3d6a3a1d /drivers/net/wireless/intel/iwlwifi/mvm/scan.c | |
parent | 0c1c6e37137fc2333ef9898c24ea0cb9efbd8df0 (diff) |
iwlwifi: mvm: add debug print if scan config is ignored
Print a debug message in iwl_mvm_config_scan() if a scan configuration
data is decided not to be sent to FW.
Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@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, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c index 0476e7688e9b..1e1ab9daaec9 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c | |||
@@ -930,8 +930,11 @@ int iwl_mvm_config_scan(struct iwl_mvm *mvm) | |||
930 | if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) | 930 | if (WARN_ON(num_channels > mvm->fw->ucode_capa.n_scan_channels)) |
931 | return -ENOBUFS; | 931 | return -ENOBUFS; |
932 | 932 | ||
933 | if (type == mvm->scan_type) | 933 | if (type == mvm->scan_type) { |
934 | IWL_DEBUG_SCAN(mvm, | ||
935 | "Ignoring UMAC scan config of the same type\n"); | ||
934 | return 0; | 936 | return 0; |
937 | } | ||
935 | 938 | ||
936 | cmd_size = sizeof(*scan_config) + mvm->fw->ucode_capa.n_scan_channels; | 939 | cmd_size = sizeof(*scan_config) + mvm->fw->ucode_capa.n_scan_channels; |
937 | 940 | ||