Skip to contentSkip to conversation

handsfree-audio: use correct signature for GetCards

PATCH Applied Sicelo A. Mhlongo 2 participants 2 messages Jan 6, 2025 – Jan 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 handsfree-audio: use correct signature for GetCards

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(-)
src/handsfree-audio.c +1 -1
index 27d8331a..89b36584 100644
@@ -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,
Signature · 1 line
2.47.1
#1 lore raw
This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>:

Hello:

This patch was applied to ofono.git (master)
by Denis Kenzior <[email protected]>:

Quoted 6 lines · 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html