Message ID | 20250106215446.14890-1-absicsz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8fec91a55512fa912254d7e368a2803fabeb87b8 |
Headers | show |
Series | handsfree-audio: use correct signature for GetCards | expand |
Hello: This patch was applied to ofono.git (master) by Denis Kenzior <denkenz@gmail.com>: On Mon, 6 Jan 2025 23:53:09 +0200 you wrote: > 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(-) Here is the summary with links: - handsfree-audio: use correct signature for GetCards https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=8fec91a55512 You are awesome, thank you!
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,