All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/7] media: Fix not storing Preferred Delay properly
@ 2023-04-25 20:47 Luiz Augusto von Dentz
  2023-04-25 20:47 ` [PATCH BlueZ 2/7] shared/bap: Fix crash detaching streams Luiz Augusto von Dentz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Luiz Augusto von Dentz @ 2023-04-25 20:47 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 540e91bc6706..23c63f4172dd 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -1477,11 +1477,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] 9+ messages in thread

end of thread, other threads:[~2023-04-26 19:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 20:47 [PATCH BlueZ 1/7] media: Fix not storing Preferred Delay properly Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 2/7] shared/bap: Fix crash detaching streams Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 3/7] share/bap: Fix not removing timeout on bap_free Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 4/7] shared/tester: Add support for NULL PDUs Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 5/7] shared/bap: Fix typo Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 6/7] shared/lc3: Update configuration to use iovec Luiz Augusto von Dentz
2023-04-25 20:47 ` [PATCH BlueZ 7/7] test-bap: Introduce SCC tests Luiz Augusto von Dentz
2023-04-25 23:10 ` [BlueZ,1/7] media: Fix not storing Preferred Delay properly bluez.test.bot
2023-04-26 19:49 ` 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.