From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Fix not using bt_bap_stream_metadata when configuring a new stream as the endpoint/client may have set it. --- profiles/audio/bap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 53f430d66..a2c5a546d 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -1523,6 +1523,10 @@ static void setup_config(void *data, void *user_data) return; } + if (setup->metadata && setup->metadata->iov_len) + bt_bap_stream_metadata(setup->stream, setup->metadata, NULL, + NULL); + bt_bap_stream_set_user_data(setup->stream, ep->path); } -- 2.45.0