Diff between 49d22d018ec3486443f475d0b156803028abb9db and 67a00c878cb843f1ae2b0aef373ae9d43fc18743

Changed Files

File Additions Deletions Status
profiles/input/manager.c +1 -2 modified

Full Patch

diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index 2f9e087..58c3694 100644
--- a/profiles/input/manager.c
+++ b/profiles/input/manager.c
@@ -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);