Skip to content
Commit 11da95bb authored by Carles Cufi's avatar Carles Cufi
Browse files

Bluetooth: Host: Properly handle disable()/enable() cycles



When bt_disable() was introduced, some of the global variables that
handle key aspects of Bluetooth were not converted to be also
re-initialized every time that the stack was disabled and the enabled
again. This meant that the FIFO and semaphore in the device structure
were not reset whenever the corresponding threads using them were shut
down and then restarted.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 90537fe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment