diff mbox series

bap: Fix update of context

Message ID 20240125125156.1679513-1-kiran.k@intel.com
State New
Headers show
Series bap: Fix update of context | expand

Commit Message

K, Kiran Jan. 25, 2024, 12:51 p.m. UTC
Fix context getting updated with support_context.
---
 src/shared/bap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/shared/bap.c b/src/shared/bap.c
index d56911e6b9ef..06cac5bb34fe 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -2628,7 +2628,7 @@  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_source_context_value;
+	context |= pacs->source_context_value;
 
 	/* Check if context value needs updating */
 	if (context == pacs->source_context_value)