Diff between bbd10bb9bc5e3504b24dc65132d65b34d6188d69 and 45734349087e909aa5cfb7149da2dd6c1d739bb9
Changed Files
| File | Additions | Deletions | Status |
| src/shared/bap.c | +2 | -0 | modified |
Full Patch
diff --git a/src/shared/bap.c b/src/shared/bap.c
index f0c6f64..854855f 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -6155,6 +6155,8 @@ static struct bt_bap_stream *bap_bcast_stream_new(struct bt_bap *bap,
ep = queue_find(bap->remote_eps, find_ep_source, NULL);
if (!ep)
return NULL;
+ } else if (lpac->type != BT_BAP_BCAST_SINK) {
+ return NULL;
}
if (!stream)