]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: send stored PPAG command instead of local
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 11:56:31 +0000 (13:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:37:28 +0000 (14:37 +0200)
commit51cf24ef99f4702c1e24d407f5499a655c28a330
tree5c1bbc4672d3bb9296d90183791776689fbbf0c5
parent6157b264aba047df5e8a95b7525ae08ae43b8842
iwlwifi: mvm: send stored PPAG command instead of local

Some change conflicts apparently cause a confusion between a local
variable being used to send the PPAG command and the introduction of a
union for this command.  Most parts of the local command were never
copied from the stored data, so the FW was getting garbage in the
tables instead of getting valid values.

Fix this by completely removing the local and using only the union
that we have stored 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.d090e0301023.I7d57f4d7da9a3297734c51cf988199323c76916d@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c