]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: store PPAG enabled/disabled flag properly
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 11:56:30 +0000 (13:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:37:27 +0000 (14:37 +0200)
commit6157b264aba047df5e8a95b7525ae08ae43b8842
treea5dc1e244f49ff950cdb2b466d3d8c778bc7760d
parent991a56d9cf9a0bf338398deeda8b9fd772931d89
iwlwifi: mvm: store PPAG enabled/disabled flag properly

When reading the PPAG table from ACPI, we should store everything in
our fwrt structure, so it can be accessed later.  But we had a local
ppag_table variable in the function and were erroneously storing the
enabled/disabled flag in it instead of storing it in the fwrt.  Fix
this by removing the local variable and storing everything directly in
fwrt.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Fixes: 260e4ab94217 ("iwlwifi: acpi: support ppag table command v2")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210135352.889862e6d393.I8b894c1b2b3fe0ad2fb39bf438273ea47eb5afa4@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c