iwlwifi: dbg_ini: properly handle ini user trigger
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Mon, 26 Nov 2018 09:02:54 +0000 (11:02 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 29 Jan 2019 14:10:33 +0000 (16:10 +0200)
commitcd0fc658fbb77b07b9bcd2fa315acfda40e02539
tree23c6a78c8bd9539fdd1dc09613102dbe20f26f9a
parent07a44b322397b1a5e8c96ceef8ce352fe79ac7ee
iwlwifi: dbg_ini: properly handle ini user trigger

in case of a user trigger while ini is enable we change
FW_DBG_TRIGGER_USER to IWL_FW_TRIGGER_ID_USER_TRIGGER in
iwl_fw_dbg_collect and then again we attempt to do so in
_iwl_fw_error_ini_dump which causes to abort the dump.

Fix it by removing the second check in _iwl_fw_error_ini_dump.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Fixes: 7a14c23dcdee ("iwlwifi: dbg: dump data according to the new ini TLVs")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c