iwlwifi: skip first element in the WTAS ACPI table
authorAbhishek Naik <abhishek.naik@intel.com>
Thu, 5 Aug 2021 11:21:53 +0000 (14:21 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:36:09 +0000 (23:36 +0300)
commit19426d54302e199b3fd2d575f926a13af66be2b9
tree46915cb28f93a85723da0a45afd6d792fc60edd5
parent058b94dc9bf8310b93da864f9fe5bee5b50b0cf4
iwlwifi: skip first element in the WTAS ACPI table

By mistake we were considering the first element of the WTAS wifi
package as part of the data we want to rid, but that element is the wifi
package signature (always 0x07), so it should be skipped.

Change the code to read the data starting from element 1 instead.

Signed-off-by: Abhishek Naik <abhishek.naik@intel.com>
Fixes: 28dd7ccdc56f ("iwlwifi: acpi: read TAS table from ACPI and send it to the FW")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210805141826.ff8148197b15.I70636c04e37b2b57a5df3ce611511f62203d27a7@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.c