Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/2] shared/bap: Fix unused value in qos
@ 2026-05-21  3:28 michael_kong
  2026-05-21  3:28 ` [PATCH BlueZ 2/2] transport: Add support for obtaining PresentationDelay in broadcast QoS michael_kong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: michael_kong @ 2026-05-21  3:28 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: michael_kong

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(-)

diff --git a/src/shared/bap.c b/src/shared/bap.c
index 78ba22259..bd523e5e6 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -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;
-- 
2.29.1.windows.1


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

end of thread, other threads:[~2026-05-21 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21  3:28 [PATCH BlueZ 1/2] shared/bap: Fix unused value in qos michael_kong
2026-05-21  3:28 ` [PATCH BlueZ 2/2] transport: Add support for obtaining PresentationDelay in broadcast QoS michael_kong
2026-05-21  6:44 ` [BlueZ,1/2] shared/bap: Fix unused value in qos bluez.test.bot
2026-05-21 13:40 ` [PATCH BlueZ 1/2] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox