[PATCH BlueZ v2 2/4] shared/bap: run callback after setting the broadcast metadata

Michal Dzik
2026-04-17T11:29:47Z

Without this callback, dbus property setting will stall.
---
src/shared/bap.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/src/shared/bap.c b/src/shared/bap.c
index 8da626fe3..78ba22259 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -2526,6 +2526,9 @@ static unsigned int bap_bcast_metadata(struct bt_bap_stream *stream,
util_iov_free(stream->meta, 1);
stream->meta = util_iov_dup(data, 1);

+ if (func)
+ func(stream, BT_ASCS_RSP_SUCCESS, 0x00, user_data);
+
return 1;
}

--
2.43.0