]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: reduce the print severity of failing getting NIC temp
authorGolan Ben Ami <golan.ben.ami@intel.com>
Wed, 10 Feb 2021 15:23:48 +0000 (17:23 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 23:57:37 +0000 (01:57 +0200)
commita1bfb590ee27b6349938c6741c4459b43de24e5e
treedc71c6ff0495fdf881d462f2a788bc2140a4c4f5
parenta1cff8c87e9fba680668247fa33b2650717478b9
iwlwifi: mvm: reduce the print severity of failing getting NIC temp

Currently, for all devices and families, failing getting the temp
from the fw is indicated in the log as ERR.
This is too severe for two reasons:
1. The driver has a fall back - and schedules the next temp
read immediately after failing to read temp from the fw.
2. The temp read implementation in the fw is different between
HWs, and on older devices the flow is a-sync and may timeout.

Reducing the print severity from ERR to WARN will allow to
track the issue if it will appear many times, but not frighten users
if it appears once.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210172142.dfd423b2b2ef.Icd576dc3e2e7174d3ed9c1c32f48ea0013699e72@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tt.c