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.
This commit is contained in:
Luiz Augusto von Dentz 2019-08-20 13:40:10 +03:00
parent 31d7430759
commit 19329b3f68

View File

@ -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)