mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-28 22:54:14 +08:00
input: Use bt_uuid_strcmp where is makes sense
This commit is contained in:
parent
49d22d018e
commit
67a00c878c
@ -84,8 +84,7 @@ static int headset_probe(struct btd_device *device, GSList *uuids)
|
||||
|
||||
DBG("path %s", path);
|
||||
|
||||
if (!g_slist_find_custom(uuids, HSP_HS_UUID,
|
||||
(GCompareFunc) strcasecmp))
|
||||
if (!g_slist_find_custom(uuids, HSP_HS_UUID, bt_uuid_strcmp))
|
||||
return -EINVAL;
|
||||
|
||||
record = btd_device_get_record(device, uuids->data);
|
||||
|
Loading…
Reference in New Issue
Block a user