aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/runtime.h
diff options
context:
space:
mode:
authorMiri Korenblit <[email protected]>2022-01-30 09:52:57 +0000
committerLuca Coelho <[email protected]>2022-02-18 08:40:52 +0000
commit853450a618022ea9e488a3f55f8826d1bb5a66bb (patch)
treeaf18240528bd34f867ed4d47ea1a972c50cf5627 /drivers/net/wireless/intel/iwlwifi/fw/runtime.h
parentiwlwifi: read and print OTP minor version (diff)
downloadkernel-853450a618022ea9e488a3f55f8826d1bb5a66bb.tar.gz
kernel-853450a618022ea9e488a3f55f8826d1bb5a66bb.zip
iwlwifi: mvm: use debug print instead of WARN_ON()
In MCC_UPDATE_CMD we get from the FW the number of entries in the channel info array. We used to WARN_ON if this parameter is greater than we expected. Since this is not really a driver bug, and since it might happen in some valid cases too, we shouldn't use a warning here. Fix this by replacing the WARN_ON with a debug print. Signed-off-by: Miri Korenblit <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20220130115024.3cb9828df280.I14abe7c71b45bbae3d3cd503e6e13fa2cd372ed4@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/runtime.h')
0 files changed, 0 insertions, 0 deletions