All of lore.kernel.org
 help / color / mirror / Atom feed
* [BlueZ PATCH v3 1/9] media: Fix not storing Preferred Delay properly
@ 2023-04-27 23:13 Luiz Augusto von Dentz
  2023-04-27 23:13 ` [BlueZ PATCH v3 2/9] shared/bap: Fix crash detaching streams Luiz Augusto von Dentz
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luiz Augusto von Dentz @ 2023-04-27 23:13 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Preferred Delay properties were being stored as qos->pd_* instead of
qos->ppd_*.
---
 profiles/audio/media.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 52c4bd80a94c..6ce668e31303 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -1483,11 +1483,11 @@ static int parse_properties(DBusMessageIter *props, const char **uuid,
 		} else if (strcasecmp(key, "PreferredMinimumDelay") == 0) {
 			if (var != DBUS_TYPE_UINT16)
 				return -EINVAL;
-			dbus_message_iter_get_basic(&value, &qos->pd_min);
+			dbus_message_iter_get_basic(&value, &qos->ppd_min);
 		} else if (strcasecmp(key, "PreferredMaximumDelay") == 0) {
 			if (var != DBUS_TYPE_UINT16)
 				return -EINVAL;
-			dbus_message_iter_get_basic(&value, &qos->pd_max);
+			dbus_message_iter_get_basic(&value, &qos->ppd_max);
 		}
 
 		dbus_message_iter_next(props);
-- 
2.40.0


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

end of thread, other threads:[~2023-04-28  3:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-27 23:13 [BlueZ PATCH v3 1/9] media: Fix not storing Preferred Delay properly Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 2/9] shared/bap: Fix crash detaching streams Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 3/9] share/bap: Fix not removing timeout on bap_free Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 4/9] shared/tester: Add support for NULL PDUs Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 5/9] shared/bap: Fix typo Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 6/9] shared/lc3: Update configuration to use iovec Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 7/9] test-bap: Introduce SCC tests for LC3 Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 8/9] shared/util: Fix runtime error Luiz Augusto von Dentz
2023-04-27 23:13 ` [BlueZ PATCH v3 9/9] test-bap: Add SCC tests for Vendor-Specific codec Luiz Augusto von Dentz
2023-04-28  3:14 ` [BlueZ,v3,1/9] media: Fix not storing Preferred Delay properly bluez.test.bot

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.