mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
iwlwifi: dbg_ini: retrieve dump_delay value properly
The driver uses ignore_consec instead of dump_delay.
Fix it by using dump_delay as expected.
Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Fixes: fe1b7d6c28
("iwlwifi: add support for triggering ini triggers")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
cd0fc658fb
commit
b2aea95c18
@ -1489,7 +1489,7 @@ int iwl_fw_dbg_collect(struct iwl_fw_runtime *fwrt,
|
||||
if (WARN_ON(!fwrt->dump.active_trigs[id].active))
|
||||
return -EINVAL;
|
||||
|
||||
delay = le32_to_cpu(fwrt->dump.active_trigs[id].conf->ignore_consec);
|
||||
delay = le32_to_cpu(fwrt->dump.active_trigs[id].conf->dump_delay);
|
||||
occur = le32_to_cpu(fwrt->dump.active_trigs[id].conf->occurrences);
|
||||
if (!occur)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user