Diff between da110920dda8cdc3af99001e1a4062f8e2032144 and ae5fe4aafe8113579b2d3307254e92bbde81455e

Changed Files

File Additions Deletions Status
src/shared/bap.c +3 -0 modified

Full Patch

diff --git a/src/shared/bap.c b/src/shared/bap.c
index ec23e88..76f2211 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;
 }