]> 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)
commitffcfbdc7f6a5db20e4609f4aa0fb7705c4cc129e
tree5c1bbc4672d3bb9296d90183791776689fbbf0c5
parentb0be0b7a7620c0fa42a430eb9fd7d2a2393d3261
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: a2bd0675d5c0 ("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