mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
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:
parent
31d7430759
commit
19329b3f68
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user