wifi: iwlwifi: mvm: use iwl_mvm_is_vendor_in_approved_list()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2023 09:41:21 +0000 (12:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:25 +0000 (12:05 +0200)
commitc4fbf6537ab0204904c43eac8eb877aaadd93e2c
treeafb0cec4ef5627b58a0886e302610a67a6f08ce4
parent09396a4f68f08fc1b31f7cf9a1e429fbdbde3c46
wifi: iwlwifi: mvm: use iwl_mvm_is_vendor_in_approved_list()

We have this helper now instead of open-coding the check for
the dmi_tas_approved_list, so use it even here. It was added
for debugfs use, but it's better to be consistent.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230614123446.f3741f5cdef4.I5e0bf522189dc595ee38d05e93994211d32ec0f4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c