2024-02-02 14:11:05

by Iulia Tanasescu

[permalink] [raw]
Subject: [PATCH BlueZ 3/3] bap: Remove incorrect assignment of listen io

For a broadacst sink, the io that is notified in iso_bcast_confirm_cb
is the stream io, so the listen io should not be updated.
---
profiles/audio/bap.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index 909d57121..94c1de1c6 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -1061,7 +1061,6 @@ static void iso_bcast_confirm_cb(GIOChannel *io, GError *err, void *user_data)
setup->metadata);
setup->id = bt_bap_stream_config(setup->stream, &setup->qos,
setup->caps, NULL, NULL);
- data->listen_io = io;

bt_bap_stream_set_user_data(setup->stream, ep->path);

--
2.39.2