iwlwifi: dbg_ini: add early and after alive apply points to unified images
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Wed, 16 Jan 2019 08:25:55 +0000 (10:25 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 14 Feb 2019 09:29:52 +0000 (11:29 +0200)
Add IWL_FW_INI_APPLY_EARLY and IWL_FW_INI_APPLY_AFTER_ALIVE apply points
to unified images.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c

index 1589b64232ce5fbe2da6786b080d615edd94b4d6..1bc51e3260ebcea3fa2f40bf0e40efd5c69b44fc 100644 (file)
@@ -419,12 +419,15 @@ static int iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm)
                                   iwl_wait_init_complete,
                                   NULL);
 
+       iwl_fw_dbg_apply_point(&mvm->fwrt, IWL_FW_INI_APPLY_EARLY);
+
        /* Will also start the device */
        ret = iwl_mvm_load_ucode_wait_alive(mvm, IWL_UCODE_REGULAR);
        if (ret) {
                IWL_ERR(mvm, "Failed to start RT ucode: %d\n", ret);
                goto error;
        }
+       iwl_fw_dbg_apply_point(&mvm->fwrt, IWL_FW_INI_APPLY_AFTER_ALIVE);
 
        /* Send init config command to mark that we are sending NVM access
         * commands