Skip to content
Commit e6aba3e9 authored by Jonathan Rico's avatar Jonathan Rico Committed by Carles Cufí
Browse files

Bluetooth: host: clear ATT_CONNECTED flag on detach



Clear the `ATT_CONNECTED` flag when a channel is detached (could be after
an ATT timeout).

Also convert the assert checking it in `chan send` to an `if` test, since
the channel could be disconnected from a different thread than the one
triggering `chan_send`.

Fixes #53247.

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