* [PATCH BlueZ] shared/bap: Fix parsing of vendor specific codecs
@ 2023-06-27 18:34 Luiz Augusto von Dentz
2023-06-27 19:50 ` patchwork-bot+bluetooth
2023-06-27 19:51 ` [BlueZ] " bluez.test.bot
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-06-27 18:34 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
While parsing vendor specific codecs cid and vid fields need to be
converted using le16_to_cpu.
---
src/shared/bap.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/shared/bap.c b/src/shared/bap.c
index 270f0fd645a2..55f61d91a3aa 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -2953,6 +2953,11 @@ static void bap_parse_pacs(struct bt_bap *bap, uint8_t type,
return;
}
+ if (p->codec.id == 0xff) {
+ p->codec.cid = le16_to_cpu(p->codec.cid);
+ p->codec.vid = le16_to_cpu(p->codec.vid);
+ }
+
pac = NULL;
if (!bap_print_cc(iov.iov_base, p->cc_len, bap->debug_func,
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ] shared/bap: Fix parsing of vendor specific codecs
2023-06-27 18:34 [PATCH BlueZ] shared/bap: Fix parsing of vendor specific codecs Luiz Augusto von Dentz
@ 2023-06-27 19:50 ` patchwork-bot+bluetooth
2023-06-27 19:51 ` [BlueZ] " bluez.test.bot
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-06-27 19:50 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Tue, 27 Jun 2023 11:34:46 -0700 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> While parsing vendor specific codecs cid and vid fields need to be
> converted using le16_to_cpu.
> ---
> src/shared/bap.c | 5 +++++
> 1 file changed, 5 insertions(+)
Here is the summary with links:
- [BlueZ] shared/bap: Fix parsing of vendor specific codecs
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=d6bfbd28420e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [BlueZ] shared/bap: Fix parsing of vendor specific codecs
2023-06-27 18:34 [PATCH BlueZ] shared/bap: Fix parsing of vendor specific codecs Luiz Augusto von Dentz
2023-06-27 19:50 ` patchwork-bot+bluetooth
@ 2023-06-27 19:51 ` bluez.test.bot
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-06-27 19:51 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
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=760713
---Test result---
Test Summary:
CheckPatch PASS 0.57 seconds
GitLint PASS 0.38 seconds
BuildEll PASS 33.24 seconds
BluezMake PASS 991.55 seconds
MakeCheck PASS 13.32 seconds
MakeDistcheck PASS 189.82 seconds
CheckValgrind PASS 309.51 seconds
CheckSmatch PASS 409.12 seconds
bluezmakeextell PASS 125.85 seconds
IncrementalBuild PASS 818.43 seconds
ScanBuild PASS 1297.89 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-27 19:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 18:34 [PATCH BlueZ] shared/bap: Fix parsing of vendor specific codecs Luiz Augusto von Dentz
2023-06-27 19:50 ` patchwork-bot+bluetooth
2023-06-27 19:51 ` [BlueZ] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).