handsfree-audio: use correct signature for GetCards
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
@@ -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
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_cardsfunction, 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