]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pnvm: accept multiple HW-type TLVs
authorJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jul 2021 12:01:56 +0000 (14:01 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Jul 2021 15:00:59 +0000 (18:00 +0300)
commitfba05448baed3129538cfc3cea481210a389ca7d
tree89b14f4d67786f3f0b5011e1bfacf1a702de9166
parent9bb1e710f4291de4d11bd2537ddf9b4ca5ace6f7
iwlwifi: pnvm: accept multiple HW-type TLVs

Some products (So) may have two different types of products
with different mac-type that are otherwise equivalent, and
have the same PNVM data, so the PNVM file will contain two
(or perhaps later more) HW-type TLVs. Accept the file and
use the data section that contains any matching entry.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210719140154.a6a86e903035.Ic0b1b75c45d386698859f251518e8a5144431938@changeid
drivers/net/wireless/intel/iwlwifi/fw/pnvm.c