Available Context of sink was getting updated instead of source. --- src/shared/bap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index a1495ca84bcc..e9d7072ef3be 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -2599,13 +2599,13 @@ static void pacs_add_source_supported_context(struct bt_pacs *pacs, static void pacs_add_source_context(struct bt_pacs *pacs, uint16_t context) { - context |= pacs->supported_sink_context_value; + context |= pacs->supported_source_context_value; /* Check if context value needs updating */ - if (context == pacs->sink_context_value) + if (context == pacs->source_context_value) return; - pacs->sink_context_value = context; + pacs->source_context_value = context; pacs_context_changed(pacs); } -- 2.34.1