From 67a00c878cb843f1ae2b0aef373ae9d43fc18743 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 4 Sep 2012 04:05:47 +0300 Subject: [PATCH] input: Use bt_uuid_strcmp where is makes sense --- profiles/input/manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profiles/input/manager.c b/profiles/input/manager.c index 2f9e087af..58c369441 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); -- 2.47.3