Skip to content
Commit 42602e64 authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

Bluetooth: TBS: Replace busy bool with atomic



Replace the busy boolean flag with an atomic value.
This prevents any race conditions with the implementation.

The discovery procedure is also now properly guarded with it
so that in case that any procedure is currently in progress
for the specific connection, then a new discovery procedure
cannot happen until all other procedures are finished.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 3a07c9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment