Skip to contentSkip to conversation

shared/bap: Update Available context for source

PATCH Applied Kiran K 3 participants 3 messages Dec 11, 2023 Bluetooth drivers

lore
Share & tools
lore

Kiran K

author
#0 lore raw

PATCH 1/1 shared/bap: Update Available context for source

Available Context of sink was getting updated instead of source.

---
 src/shared/bap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
src/shared/bap.c +3 -3
index a1495ca84bcc..e9d7072ef3be 100644
@@ -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);
 }
Signature · 1 line
2.34.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=808691

---Test result---

Test Summary:

CheckPatch                    PASS      0.48 seconds
GitLint                       PASS      0.33 seconds
BuildEll                      PASS      24.02 seconds
BluezMake                     PASS      724.89 seconds
MakeCheck                     PASS      11.90 seconds
MakeDistcheck                 PASS      154.80 seconds
CheckValgrind                 PASS      216.04 seconds
CheckSmatch                   PASS      320.17 seconds
bluezmakeextell               PASS      100.97 seconds
IncrementalBuild              PASS      665.08 seconds
ScanBuild                     PASS      916.05 seconds

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Kiran K
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 4 lines · On Mon, 11 Dec 2023 14:05:07 +0530 you wrote:

Available Context of sink was getting updated instead of source.

---
 src/shared/bap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
- shared/bap: Update Available context for source

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=87477b7ffefc

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html