From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 2/2] btdev: Fix CIS Established
Date: Fri, 11 Mar 2022 13:17:30 -0800 [thread overview]
Message-ID: <20220311211730.3285028-2-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20220311211730.3285028-1-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
CIS Established was using the ISO latency instead of SDU interval for
transport latency.
---
emulator/btdev.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 09eadd24f..c60ce6dbe 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -5774,10 +5774,10 @@ static void le_cis_estabilished(struct btdev *dev, struct btdev_conn *conn,
sizeof(remote->le_cig.params.c_interval));
memcpy(evt.cis_sync_delay, remote->le_cig.params.p_interval,
sizeof(remote->le_cig.params.p_interval));
- memcpy(evt.c_latency, &remote->le_cig.params.c_latency,
- sizeof(remote->le_cig.params.c_latency));
- memcpy(evt.p_latency, &remote->le_cig.params.p_latency,
- sizeof(remote->le_cig.params.p_latency));
+ memcpy(evt.c_latency, &remote->le_cig.params.c_interval,
+ sizeof(remote->le_cig.params.c_interval));
+ memcpy(evt.p_latency, &remote->le_cig.params.p_interval,
+ sizeof(remote->le_cig.params.p_interval));
evt.c_phy = remote->le_cig.cis[0].c_phy;
evt.p_phy = remote->le_cig.cis[0].p_phy;
evt.nse = 0x01;
--
2.35.1
next prev parent reply other threads:[~2022-03-11 22:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 21:17 [PATCH BlueZ 1/2] bthost: Fix not setting all parameters when using Create BIG cmd Luiz Augusto von Dentz
2022-03-11 21:17 ` Luiz Augusto von Dentz [this message]
2022-03-12 1:24 ` [BlueZ,1/2] " bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311211730.3285028-2-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.