Re: [PATCH 1/1] mesh: Fix provisioning agent method call failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied
On Wed, 2020-01-22 at 17:46 +0530, Shaunak Soman wrote:
> Provisioning agent interface methods PublicKey, PrivateKey and
> Cancel do not accept any parameters. So, while invoking them
> explicitly set the parameters to "".
> ---
>  mesh/agent.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/mesh/agent.c b/mesh/agent.c
> index 9f9399f..3ab3893 100644
> --- a/mesh/agent.c
> +++ b/mesh/agent.c
> @@ -515,6 +515,8 @@ static int request_key(struct mesh_agent *agent,
>  						MESH_PROVISION_AGENT_INTERFACE,
>  						method_name);
>  
> +	l_dbus_message_set_arguments(msg, "");
> +
>  	l_debug("Send key request to %s %s", agent->owner, agent->path);
>  
>  	l_dbus_send_with_reply(dbus_get_bus(), msg, key_reply, agent, NULL);
> @@ -649,5 +651,8 @@ void mesh_agent_cancel(struct mesh_agent *agent)
>  	msg = l_dbus_message_new_method_call(dbus, agent->owner, agent->path,
>  						MESH_PROVISION_AGENT_INTERFACE,
>  						"Cancel");
> +
> +	l_dbus_message_set_arguments(msg, "");
> +
>  	l_dbus_send(dbus, msg);
>  }




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux