diff mbox series

handsfree-audio: use correct signature for GetCards

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

Commit Message

Sicelo Jan. 6, 2025, 9:53 p.m. UTC
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(-)

Comments

patchwork-bot+ofono@kernel.org Jan. 7, 2025, 4:50 p.m. UTC | #1
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 mbox series

Patch

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,