Commit 32845eb1 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan
Browse files

Bluetooth: Use new alloc_workqueue()

Update hdev workqueue API usage to use the new interface, this new
interface also allow us to mark this workqueue as WQ_HIGHPRI, so now rx
and tx work gets higher priority when running.
Acked-by: default avatarMarcel Holtmann <>
Signed-off-by: default avatarGustavo F. Padovan <>
parent 80b7ab33
......@@ -1500,7 +1500,8 @@ int hci_register_dev(struct hci_dev *hdev)
hdev->workqueue = create_singlethread_workqueue(hdev->name);
hdev->workqueue = alloc_workqueue(hdev->name, WQ_HIGHPRI | WQ_UNBOUND |
if (!hdev->workqueue) {
error = -ENOMEM;
goto err;
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