Re: [PATCH BlueZ] obex: Fix always searching UUID using 128 bit format

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

 



Hi,

On Thu, Oct 5, 2017 at 4:11 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> When discovering the SDP records the code should attempt to use
> 16 bit format whenever possible.
> ---
>  obexd/client/bluetooth.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
> index e35124a0c..0c043e0ac 100644
> --- a/obexd/client/bluetooth.c
> +++ b/obexd/client/bluetooth.c
> @@ -306,6 +306,8 @@ static gboolean service_callback(GIOChannel *io, GIOCondition cond,
>         if (bt_string2uuid(&uuid, session->service) < 0)
>                 goto failed;
>
> +       sdp_uuid128_to_uuid(&uuid);
> +
>         search = sdp_list_append(NULL, &uuid);
>         attrid = sdp_list_append(NULL, &range);
>
> --
> 2.13.6
>

Applied.

-- 
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