core: Use UUID-16 or UUID-32 when possible when resolving profiles

This commit is contained in:
Johan Hedberg 2012-11-21 15:40:00 +02:00
parent b19465d1ef
commit 202b7a98d6

View File

@ -1389,6 +1389,7 @@ static int resolve_service(struct ext_io *conn, const bdaddr_t *src,
int err;
bt_string2uuid(&uuid, ext->remote_uuids[0]);
sdp_uuid128_to_uuid(&uuid);
err = bt_search_service(src, dst, &uuid, record_cb, conn, NULL);
if (err == 0)