[PATCH] handsfree-audio: use correct signature for GetCards
"Sicelo A. Mhlongo" <[email protected]> Mon, 6 Jan 2025 23:53:09 +0200
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
Match the signature for GetCards to the structure of the dbus container
as found in the am_get_cards function, as well as in the documentation
for the handsfree api.
---
src/handsfree-audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c
index 27d8331a..89b36584 100644
--- a/src/handsfree-audio.c
+++ b/src/handsfree-audio.c
@@ -813,7 +813,7 @@ static DBusMessage *am_agent_unregister(DBusConnection *conn,
static const GDBusMethodTable am_methods[] = {
{ GDBUS_METHOD("GetCards",
- NULL, GDBUS_ARGS({"cards", "a{oa{sv}}"}),
+ NULL, GDBUS_ARGS({"cards", "a(oa{sv})"}),
am_get_cards) } ,
{ GDBUS_METHOD("Register",
GDBUS_ARGS({"path", "o"}, {"codecs", "ay"}), NULL,
--
2.47.1