From b4aae7f3d92b9301ccfb24350dfe9e84a8da71ab Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 1 Feb 2024 12:48:41 -0500 Subject: [PATCH] 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 --- src/shared/bap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/bap.c b/src/shared/bap.c index ce8d35f86..f2d2ca09b 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; } -- 2.47.3