iwlwifi: acpi: fill in SAR tables with defaults
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 19 Aug 2021 15:40:27 +0000 (18:40 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:37:05 +0000 (23:37 +0300)
commit40063f602868aaeab5afe7f84237e3d95801680f
treeb1bfef64095aff98b78273e2712645293c95716d
parentc5b42c674ad88643c8a7d31611114bda62425fcf
iwlwifi: acpi: fill in SAR tables with defaults

If the tables we get in the iwl_sar_set_profile() is smaller than the
revision we support, we need to fill the values with 0.  Make sure
that's the case.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210819183728.7fb9716db7ba.I75541846e0720f80695186ba39398133c8758280@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.c