summaryrefslogtreecommitdiff
path: root/client/gatt.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/gatt.c')
-rw-r--r--client/gatt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/gatt.c b/client/gatt.c
index e03ef9679..1de87364d 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -526,6 +526,9 @@ static GDBusProxy *select_proxy_by_uuid(GDBusProxy *parent, const char *uuid,
if (strcasecmp(uuid, value) == 0)
return proxy;
+
+ if (strlen(uuid) == 4 && !strncasecmp(value + 4, uuid, 4))
+ return proxy;
}
return NULL;