diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-02-01 12:48:41 -0500 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-02-02 10:10:41 -0500 |
commit | b4aae7f3d92b9301ccfb24350dfe9e84a8da71ab (patch) | |
tree | d970630ecadb50e6b1d06f90e17d4448f2ffe652 | |
parent | 75095a9901f8494e5652222669ffb51021eb4850 (diff) |
shared/bap: Fix not being able to reconfigure Broadcast Source
This fixes not being able to reconfigure broadcast source due to it
being in Releasing:
bluetoothd[37]: src/shared/bap.c:stream_set_state_broadcast() stream
0x8919e0 dir 0x00: streaming -> releasing
bluetoothd[37]: profiles/audio/bap.c:setup_new() ep 0x8802d0 setup
0x88d3e0
bluetoothd[37]: src/shared/bap.c:bt_bap_stream_new() Unable to find
unused ASE
-rw-r--r-- | src/shared/bap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/bap.c b/src/shared/bap.c index ce8d35f86a..f2d2ca09bb 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -1379,6 +1379,7 @@ static void stream_set_state_broadcast(struct bt_bap_stream *stream, break; case BT_ASCS_ASE_STATE_RELEASING: bap_stream_io_detach(stream); + stream_set_state_broadcast(stream, BT_BAP_STREAM_STATE_QOS); break; } |