diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 0ae9932..59fc840 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
if (path && g_strcmp0(endpoint->path, path) != 0)
continue;
- if (uuid && g_strcmp0(endpoint->uuid, uuid) != 0)
+ if (uuid && strcasecmp(endpoint->uuid, uuid) != 0)
continue;
return endpoint;
for (l = adapter->endpoints; l; l = l->next) {
struct media_endpoint *endpoint = l->data;
- if (g_strcmp0(endpoint->uuid, uuid) != 0)
+ if (strcasecmp(endpoint->uuid, uuid) != 0)
continue;
append_endpoint(endpoint, &dict);