diff mbox series

[BlueZ,3/3] bap: Remove incorrect assignment of listen io

Message ID 20240202141036.9797-4-iulia.tanasescu@nxp.com
State New
Headers show
Series BAP fixes | expand

Commit Message

Iulia Tanasescu Feb. 2, 2024, 2:10 p.m. UTC
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 mbox series

Patch

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);