Message ID | 20231020142554.486629-4-kiran.k@intel.com |
---|---|
State | New |
Headers | show |
Series | [v1,1/5] media: Populate location to qos structure | expand |
diff --git a/src/shared/bap.c b/src/shared/bap.c index 5cb8b5aba659..bd00fa210abe 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -2634,7 +2634,7 @@ static void bap_add_source(struct bt_bap_pac *pac) iov.iov_base = value; iov.iov_len = 0; - queue_foreach(pac->bdb->sinks, pac_foreach, &iov); + queue_foreach(pac->bdb->sources, pac_foreach, &iov); pacs_add_source_location(pac->bdb->pacs, pac->qos.location); pacs_add_source_supported_context(pac->bdb->pacs,