summaryrefslogtreecommitdiff
path: root/android/socket.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-06-18 19:50:11 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-06-18 20:06:57 +0200
commit60afcc6e5aa9af6c934144a0126f0a57060542f6 (patch)
treebd05443902ae2dcee63c43929af344338856d973 /android/socket.c
parentea7c480d144e80ca6a5e0c57d266e3beaa930818 (diff)
downloadbluez-60afcc6e5aa9af6c934144a0126f0a57060542f6.tar.gz
android/socket: Convert service UUID to 16 or 32 bits if possible
Diffstat (limited to 'android/socket.c')
-rw-r--r--android/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/socket.c b/android/socket.c
index 99d6bec3b..2b836e922 100644
--- a/android/socket.c
+++ b/android/socket.c
@@ -360,6 +360,7 @@ static sdp_record_t *create_app_record(uint8_t chan,
uuid_t uuid;
sdp_uuid128_create(&uuid, app_uuid);
+ sdp_uuid128_to_uuid(&uuid);
record = create_rfcomm_record(chan, &uuid, svc_name, false);
if (!record)