Re: [PATCH 1/1] obexd: Fix SetPath response

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

 



Hi Christian,

On Thu, May 23, 2013 at 9:33 AM, Christian Fetzer
<christian.fetzer@xxxxxxxxxxxxxxxx> wrote:
> From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx>
>
> This fixes the issue, that failed attempts to the OBEX SetPath command
> are not propagated through the D-Bus API.
>
> Trace:
>
>   method call sender=:1.942 -> dest=:1.934 serial=8
>   path=/org/bluez/obex/client/session3;
>   interface=org.bluez.obex.MessageAccess1; member=SetFolder
>      string "test"
>   method return sender=:1.934 -> dest=:1.942 reply_serial=8
>
>   method call sender=:1.946 -> dest=:1.945 serial=8
>   path=/org/bluez/obex/client/session0;
>   interface=org.bluez.obex.MessageAccess1; member=SetFolder
>      string "test"
>   error sender=:1.945 -> dest=:1.946
>   error_name=org.bluez.obex.Error.Failed reply_serial=8
>      string "Not Found"
> ---
>  obexd/client/session.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/obexd/client/session.c b/obexd/client/session.c
> index 17a3d3f..f1bdf18 100644
> --- a/obexd/client/session.c
> +++ b/obexd/client/session.c
> @@ -895,7 +895,7 @@ static void setpath_cb(GObex *obex, GError *err, GObexPacket *rsp,
>                 GError *gerr = NULL;
>                 g_set_error(&gerr, OBEX_IO_ERROR, code, "%s",
>                                                         g_obex_strerror(code));
> -               setpath_complete(p->session, NULL, err, user_data);
> +               setpath_complete(p->session, NULL, gerr, user_data);
>                 g_clear_error(&gerr);
>                 return;
>         }
> --
> 1.8.2.3

Pushed, thanks.


--
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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