]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: assign SAR table revision to the command later
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 11:56:34 +0000 (13:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:37:29 +0000 (14:37 +0200)
commitd9a90f662a6a4c3e70e062189e3729e795dc8daf
tree285b2ce34245302a6bf2e4afed30fca35c361d53
parent2f9efb49a13df91b1d295919fdefa5c5aa4ea94b
iwlwifi: mvm: assign SAR table revision to the command later

The call to iwl_sar_geo_init() was moved to the end of the
iwl_mvm_sar_geo_init() function, after the table revision is assigned
to the FW command.  But the revision is only known after
iwl_sar_geo_init() is called, so we were always assigning zero to it.

Fix that by moving the assignment code after the iwl_sar_geo_init()
function is called.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Fixes: 8b6df7510b80 ("iwlwifi: fix sar geo table initialization")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210135352.cef55ef3a065.If96c60f08d24c2262c287168a6f0dbd7cf0f8f5c@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c