Commit 318b3fac authored by Johannes Berg's avatar Johannes Berg

wifi: iwlwifi: use system_unbound_wq for debug dump

This can take some time, so it's better to use the unbound
workqueue.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240204235836.75c8d2286f81.I478e9faf422f22ae66c0a113003fea83565c5692@changeidSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 83f57c93
......@@ -2878,7 +2878,8 @@ int iwl_fw_dbg_collect_desc(struct iwl_fw_runtime *fwrt,
IWL_WARN(fwrt, "Collecting data: trigger %d fired.\n",
le32_to_cpu(desc->trig_desc.type));
schedule_delayed_work(&wk_data->wk, usecs_to_jiffies(delay));
queue_delayed_work(system_unbound_wq, &wk_data->wk,
usecs_to_jiffies(delay));
return 0;
}
......@@ -3180,7 +3181,9 @@ int iwl_fw_dbg_ini_collect(struct iwl_fw_runtime *fwrt,
if (sync)
iwl_fw_dbg_collect_sync(fwrt, idx);
else
schedule_delayed_work(&fwrt->dump.wks[idx].wk, usecs_to_jiffies(delay));
queue_delayed_work(system_unbound_wq,
&fwrt->dump.wks[idx].wk,
usecs_to_jiffies(delay));
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment