obex: Fix always searching UUID using 128 bit format
Luiz Augusto von Dentz
maintainerPATCH 1/1 obex: Fix always searching UUID using 128 bit format
From: Luiz Augusto von Dentz <[email protected]>
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(+)
obexd/client/bluetooth.c +2 -0
@@ -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);
Signature · 1 line
2.13.6
Hi,
Quoted 22 lines · Luiz Augusto von Dentz
From: Luiz Augusto von Dentz <[email protected]>
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(+)obexd/client/bluetooth.c +2
-1@@ -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); --
Quoted 2 lines
2.13.6
Applied.
Signature · 1 line
Luiz Augusto von Dentz