Diff between f924572fa1b817e7c8667c33310cf7e0b3820d7b and ad3ceb04a078bc4378d356d50f47b499c9fd1172

Changed Files

File Additions Deletions Status
profiles/audio/media.c +2 -2 modified

Full Patch

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
@@ -170,7 +170,7 @@ static struct media_endpoint *media_adapter_find_endpoint(
 		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;
@@ -692,7 +692,7 @@ static bool endpoint_properties_get(const char *uuid,
 	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);