From ae5fe4aafe8113579b2d3307254e92bbde81455e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 4 Apr 2025 15:28:41 -0400 Subject: [PATCH] shared/bap: Fix not sending ASE Notication in case of Metadata update Tests such if metadata update requires the server to generate ASE notification on Update Metadata operation. --- src/shared/bap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shared/bap.c b/src/shared/bap.c index ec23e882f..76f221102 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -2162,6 +2162,9 @@ static uint8_t stream_metadata(struct bt_bap_stream *stream, struct iovec *meta, util_iov_free(stream->meta, 1); stream->meta = util_iov_dup(meta, 1); + /* Force state change to the same state to update the metadata */ + stream_set_state(stream, bt_bap_stream_get_state(stream)); + return 0; } -- 2.47.3