summaryrefslogtreecommitdiff
path: root/serial
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-07-28 10:36:26 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-07-28 10:37:15 +0300
commita5650fa4173286fd30fbc59703565123849241ed (patch)
tree94a235668dcaab08063c2a4c58bbc5c0339bdf5f /serial
parent9ab6adf3d579a76bd5e3cf58cb5905330327b3e2 (diff)
downloadbluez-a5650fa4173286fd30fbc59703565123849241ed.tar.gz
Use 16/32-bit UUID if possible in serial proxy records
Diffstat (limited to 'serial')
-rw-r--r--serial/proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/serial/proxy.c b/serial/proxy.c
index 9087c2fcb..5ed351286 100644
--- a/serial/proxy.c
+++ b/serial/proxy.c
@@ -191,6 +191,7 @@ static sdp_record_t *proxy_record_new(const char *uuid128, uint8_t channel)
sdp_list_free(root, NULL);
bt_string2uuid(&uuid, uuid128);
+ sdp_uuid128_to_uuid(&uuid);
svclass_id = sdp_list_append(NULL, &uuid);
sdp_set_service_classes(record, svclass_id);
sdp_list_free(svclass_id, NULL);