iwlwifi: mvm: move early time-point before nvm_init in non-unified
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:06:37 +0000 (11:06 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:56:44 +0000 (11:56 +0200)
commit11f8c533da720a49037a8cbe1c261e6d656b84cd
treecba76b76a50c46bd14fee739562579fa1e9e2893
parent930be4e76f262ede9927fb7d1ca525736cdc3669
iwlwifi: mvm: move early time-point before nvm_init in non-unified

We were starting the early time-point too late in non-unified
firmwares.  Unlike with unified firmwares, we were starting it only
after reading the NVM, so errors in the NVM read phase were not
logged.

Solve this by moving the time-point to the same place as we do with
unified firmwares, i.e. just before we go into the wait-alive code.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210205110447.bb6d28ceca01.I770fdf3b9b9fa555fe0935926e32cc3509d980de@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c