iwlwifi: mvm: set enabled in the PPAG command properly
authorLuca Coelho <luciano.coelho@intel.com>
Sun, 31 Jan 2021 18:22:06 +0000 (20:22 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:57:44 +0000 (11:57 +0200)
commitefaa85cf2294d5e10a724e24356507eeb3836f72
treed292cd0635520ad4d9d8c53f29718497cc4449ef
parent9dbb62a29042e543ab6671dc12c1473c3cbc58c2
iwlwifi: mvm: set enabled in the PPAG command properly

When version 2 of the PER_PLATFORM_ANT_GAIN_CMD was implemented, we
started copying the values from the command that we have stored into a
local instance.  But we accidentally forgot to copy the enabled flag,
so in practice PPAG is never really enabled.  Fix this by copying the
flag from our stored data a we should.

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