Parent: 013b3431c58d81e9e01dac7e8a5d088e357326a3
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-08-11 23:36:11
Tree: 61d35eca64e5bc3a85b2bcb68e23fa131b7ffca8
shared/bap: reset local ep state on stream detach When removing streams in bt_bap_detach(), they are detached directly without going through normal state transitions. As BAP Unicast Server, this leaves local endpoints to the state they were in, so they persist if client connects again. This is not wanted. For server streams, clear the local ASE state on detach. At that point, the ASE is either already idle or the session is detached. Don't modify state of remote endpoints (BAP Client streams), as only remote server should do that.
Diffstat
| M | src/shared/bap.c | | | 6 | ++++++ |
1 files changed, 6 insertions(+), 0 deletions(-)