All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bap: Fix update of context
@ 2024-01-25 12:51 Kiran K
  2024-01-25 13:49 ` bluez.test.bot
  2024-01-25 22:20 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Kiran K @ 2024-01-25 12:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: ravishankar.srivatsa, Kiran K

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-25 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 12:51 [PATCH] bap: Fix update of context Kiran K
2024-01-25 13:49 ` bluez.test.bot
2024-01-25 22:20 ` [PATCH] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.