[PATCH] bap: Fix update of context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix context getting updated with support_context.
---
 src/shared/bap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.34.1





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux