From 19329b3f6829a22f6dcf3c148dcfd3757ad3b126 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 20 Aug 2019 13:40:10 +0300 Subject: [PATCH] client: Fix not able to select attributes if parent exists When selecting attributes by UUID the code was not checking attributes that are not a children of the current selected attribute. --- client/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gatt.c b/client/gatt.c index 1de87364d..416eda953 100644 --- a/client/gatt.c +++ b/client/gatt.c @@ -561,7 +561,7 @@ GDBusProxy *gatt_select_attribute(GDBusProxy *parent, const char *arg) return proxy; } - return select_attribute_by_uuid(parent, arg); + return select_attribute_by_uuid(NULL, arg); } static char *attribute_generator(const char *text, int state, GList *source) -- 2.47.3