Diff between 6dafe901a2bae49048968872e0854cc47cfec45b and c1851987ca2c6e41d1e0e166e959b754e369c254

Changed Files

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

Full Patch

diff --git a/src/shared/bap.c b/src/shared/bap.c
index 804352d..e26dbf9 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -2062,7 +2062,7 @@ static const struct bt_bap_stream_ops *
 bap_stream_new_ops(struct bt_bap_stream *stream)
 {
 	const struct bt_bap_stream_ops *ops;
-	uint8_t type = bt_bap_stream_get_type(stream);
+	uint8_t type = bt_bap_pac_get_type(stream->lpac);
 	size_t i;
 
 	for (i = 0; i < ARRAY_SIZE(stream_ops); i++) {