--- src/device.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/device.c b/src/device.c index 6ba1612..2b6b97f 100644 --- a/src/device.c +++ b/src/device.c @@ -1085,7 +1085,9 @@ static GSList *device_match_driver(struct btd_device *device, /* match pattern driver */ match = device_match_pattern(device, *uuid, profiles); for (; match; match = match->next) - uuids = g_slist_append(uuids, match->data); + if (!g_slist_find_custom(uuids, match->data, + (GCompareFunc) strcasecmp)) + uuids = g_slist_append(uuids, match->data); } return uuids; -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html