]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pnvm: don't try to load after failures
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jan 2021 11:05:51 +0000 (13:05 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Jan 2021 13:52:56 +0000 (15:52 +0200)
commit94839cf8d09c19ccf704c516ae6ace36569315d8
treea229cfb026fec7d3cb6f5571762b408885122801
parent2106b99776d3c6259786aa9b609d9d3ee8a2d14d
iwlwifi: pnvm: don't try to load after failures

If loading the PNVM file failed on the first try during the
interface up, the file is unlikely to show up later, and we
already don't try to reload it if it changes, so just don't
try loading it again and again.

This also fixes some issues where we may try to load it at
resume time, which may not be possible yet.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: aa82c7085bb7 ("iwlwifi: read and parse PNVM file")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.5ac6828a0bbe.I7d308358b21d3c0c84b1086999dbc7267f86e219@changeid
drivers/net/wireless/intel/iwlwifi/fw/pnvm.c