Skip to content
Commit 6b0242cf authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Carles Cufí
Browse files

Bluetooth: Fix deadlock caused by blocking on syswq



Since TX complete notification are dispatched with syswq blocking on it
can completely deadlock Bluetooth so this attempt to make it safe by
return -ENOMEM if that the current thread happens to be the syswq
thread.

Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 4244b320
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment