diff mbox series

[BlueZ,6/8] tools/btiotest: Use unicast QoS structure for ISO io

Message ID 20230320143713.25449-7-iulia.tanasescu@nxp.com (mailing list archive)
State Superseded
Headers show
Series Split bt_iso_qos into dedicated structures | expand

Commit Message

Iulia Tanasescu March 20, 2023, 2:37 p.m. UTC
Convert the generic bt_iso_qos structure into the dedicated unicast
structure for ISO QoS options.

---
 tools/btiotest.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tools/btiotest.c b/tools/btiotest.c
index 193e1395b..dd2c132ca 100644
--- a/tools/btiotest.c
+++ b/tools/btiotest.c
@@ -5,6 +5,7 @@ 
  *
  *  Copyright (C) 2009-2010  Marcel Holtmann <marcel@holtmann.org>
  *  Copyright (C) 2009-2010  Nokia Corporation
+ *  Copyright 2023 NXP
  *
  *
  */
@@ -38,7 +39,7 @@  static int opt_update_sec = 0;
 	.rtn = 2, \
 }
 
-struct bt_iso_qos qos = {
+struct bt_iso_unicast_qos qos = {
 	.cig = BT_ISO_QOS_CIG_UNSET,
 	.cis = BT_ISO_QOS_CIG_UNSET,
 	.sca = 0x07,
@@ -55,7 +56,7 @@  struct io_data {
 	int disconn;
 	int accept;
 	int voice;
-	struct bt_iso_qos *qos;
+	struct bt_iso_unicast_qos *qos;
 };
 
 static void io_data_unref(struct io_data *data)