Skip to content
Commit 584f653d authored by Jonathan Rico's avatar Jonathan Rico Committed by Johan Hedberg
Browse files

Bluetooth: conn: Don't deadlock on `BT_RECV_WORKQ_SYS`



My recent change overlooked this configuration, which is not tested in CI
currently.

If someone had enabled it, they would've just gotten an unfixable assert.

The correct test would be checking if the current thread is the system wq,
but I think the compiler can't know that and can't remove the "dead" code.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent 074a541f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment