mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
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>
This commit is contained in:
parent
0c1c6e3713
commit
1c4e15a23d
@ -930,8 +930,11 @@ 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)
|
||||
if (type == mvm->scan_type) {
|
||||
IWL_DEBUG_SCAN(mvm,
|
||||
"Ignoring UMAC scan config of the same type\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
cmd_size = sizeof(*scan_config) + mvm->fw->ucode_capa.n_scan_channels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user