mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-24 13:23:29 +08:00
core: Use UUID-16 or UUID-32 when possible when resolving profiles
This commit is contained in:
parent
b19465d1ef
commit
202b7a98d6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user