aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/acpi.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2023-06-14 09:41:31 +0000
committerJohannes Berg <[email protected]>2023-06-19 10:05:26 +0000
commit568db7fd27fad183d186742dc7ae6ca211ba51ff (patch)
treee9a43a81e40d75ff2209126f9f5ab01af8d9d29d /drivers/net/wireless/intel/iwlwifi/fw/acpi.c
parentwifi: iwlwifi: mvm: always send spec link ID in link commands (diff)
downloadkernel-568db7fd27fad183d186742dc7ae6ca211ba51ff.tar.gz
kernel-568db7fd27fad183d186742dc7ae6ca211ba51ff.zip
wifi: iwlwifi: add some FW misbehaviour check infrastructure
When the firmware misbehaves (according to the driver), we often either ignore that, or WARN_ON, which is very noisy but doesn't really help. Add a little helper macro IWL_FW_CHECK() that can be used in place of WARN_ON() in conditions, and make it take a message that's printed in this case. We can also add more behaviour to this in the future. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230614123446.2e12ac670cea.Ia0198036b7a626876d836bd41a4b2d2b1e65c5ca@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/acpi.c')
0 files changed, 0 insertions, 0 deletions