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)
commit0f673c16c850250db386537a422c11d248fb123c
tree89b14f4d67786f3f0b5011e1bfacf1a702de9166
parent09cfae9f13d51700b0fecf591dcd658fc5375428
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