diff mbox series

shared/bap: Update Available context for source

Message ID 20231211083507.3363494-1-kiran.k@intel.com (mailing list archive)
State Accepted
Commit 87477b7ffefcf3c64c821d9f700664d89aa2c5f7
Headers show
Series shared/bap: Update Available context for source | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/IncrementalBuild success Incremental Build PASS
tedd_an/ScanBuild success Scan Build PASS

Commit Message

K, Kiran Dec. 11, 2023, 8:35 a.m. UTC
Available Context of sink was getting updated instead of source.
---
 src/shared/bap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

bluez.test.bot@gmail.com Dec. 11, 2023, 9:31 a.m. UTC | #1
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
patchwork-bot+bluetooth@kernel.org Dec. 11, 2023, 6:40 p.m. UTC | #2
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

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!
diff mbox series

Patch

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);
 }