Skip to content

Commit

Permalink
bap: Remove incorrect assignment of listen io
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iulia-tanasescu authored and Vudentz committed Feb 2, 2024
1 parent 35032a6 commit 05efccc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion profiles/audio/bap.c
Expand Up @@ -1064,7 +1064,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);

Expand Down

0 comments on commit 05efccc

Please sign in to comment.