diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-08-20 13:40:10 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-08-20 16:47:29 +0300 |
commit | 19329b3f6829a22f6dcf3c148dcfd3757ad3b126 (patch) | |
tree | c307eab0d13f7b2225217c8cfc23c0b8b71adeb0 /client/gatt.c | |
parent | 31d74307597c337ca69d36a243bd3a59637b3344 (diff) | |
download | bluez-19329b3f6829a22f6dcf3c148dcfd3757ad3b126.tar.gz |
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.
Diffstat (limited to 'client/gatt.c')
-rw-r--r-- | client/gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |