shared/bap: Fix unused value in qos
PATCH 1/2 shared/bap: Fix unused value in qos
In bt_bap_parse_base, PresentationDelay is parsed but not written to QoS.
--- src/shared/bap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
src/shared/bap.c +2 -3
@@ -7655,16 +7655,15 @@ bool bt_bap_parse_base(uint8_t sid, struct iovec *iov,bt_bap_bis_func_t handler, void *user_data) { - uint32_t delay; uint8_t sgrps;bool ret = true;util_debug (func,NULL ,"BASE len: %zd" , iov->iov_len); -if (!util_iov_pull_le24 (iov, &delay)) +if (!util_iov_pull_le24 (iov, &qos->bcast.delay))return false; -util_debug (func,NULL ,"PresentationDelay: %d" , delay); +util_debug (func,NULL ,"PresentationDelay: %d" , qos->bcast.delay);if (!util_iov_pull_u8 (iov, &sgrps))return false;
Signature · 1 line
2.29.1.windows.1
PATCH 2/2 transport: Add support for obtaining PresentationDelay in broadcast QoS
--- profiles/audio/transport.c | 2 ++ 1 file changed, 2 insertions(+)
profiles/audio/transport.c +2 -0
@@ -1605,6 +1605,8 @@ static gboolean get_bcast_qos(const GDBusPropertyTable *property, &bap->qos.bcast.mse);dict_append_entry (&dict,"Timeout" ,DBUS_TYPE_UINT16 , &bap->qos.bcast.timeout); +dict_append_entry (&dict,"PresentationDelay" ,DBUS_TYPE_UINT32 , + &bap->qos.bcast.delay);append_io_qos (&dict, &bap->qos.bcast.io_qos);
Signature · 1 line
2.29.1.windows.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=1098419
---Test result---
Test Summary:
CheckPatch PASS 0.66 seconds GitLint FAIL 0.50 seconds BuildEll PASS 18.04 seconds BluezMake PASS 643.58 seconds MakeCheck PASS 14.71 seconds MakeDistcheck FAIL 213.39 seconds CheckValgrind PASS 258.46 seconds CheckSmatch WARNING 313.93 seconds bluezmakeextell PASS 169.78 seconds IncrementalBuild PASS 643.36 seconds ScanBuild PASS 945.89 seconds
Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,2/2] transport: Add support for obtaining PresentationDelay in broadcast QoS
WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search
1: T1 Title exceeds max length (83>80): "[BlueZ,2/2] transport: Add support for obtaining PresentationDelay in broadcast QoS"
##############################
Test: MakeDistcheck - FAIL
Desc: Run Bluez Make Distcheck
Output:
make[4]: *** [Makefile:10239: test-suite.log] Error 1
make[3]: *** [Makefile:10347: check-TESTS] Error 2
make[2]: *** [Makefile:10818: check-am] Error 2
make[1]: *** [Makefile:10820: check] Error 2
make: *** [Makefile:10741: distcheck] Error 1
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:src/shared/bap.c:312:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structuressrc/shared/bap.c:312:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structuressrc/shared/bap.c:312:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structures
https://github.com/bluez/bluez/pull/2139
---
Regards,
Linux Bluetooth
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 4 lines · On Thu, 21 May 2026 11:28:14 +0800 you wrote:
In
bt_bap_parse_base, PresentationDelay is parsed but not written to QoS.--- src/shared/bap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Here is the summary with links:
- [BlueZ,1/2] shared/bap: Fix unused value in qos
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=29fb17c909a0 - [BlueZ,2/2] transport: Add support for obtaining PresentationDelay in broadcast QoS https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fd25b4b1e596
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html