summaryrefslogtreecommitdiff
path: root/src/adapter.h
diff options
context:
space:
mode:
authorOlivier Martin <olivier@labapart.com>2016-03-04 16:50:11 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-03-07 15:56:26 +0200
commitbf5606953eaccc47cf3166f456573d2c722f15f3 (patch)
tree31a7d2759ba67ee570e39b329210cbc27aebdb9b /src/adapter.h
parent064f48ad6dd0eb4becb94f5492b6c78218065f19 (diff)
downloadbluez-bf5606953eaccc47cf3166f456573d2c722f15f3.tar.gz
gatt-database: Fix GATT object ordering
There is no guarantee the objects returned by GetManagedObjects are ordered in the required order which is Service, Characteristic Descriptor due to their respective dependencies. This change ensures the objects are processed in the correct order.
Diffstat (limited to 'src/adapter.h')
-rw-r--r--src/adapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adapter.h b/src/adapter.h
index 0c95f5deb..f2947feb2 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -225,3 +225,4 @@ void btd_adapter_for_each_device(struct btd_adapter *adapter,
void *data);
bool btd_le_connect_before_pairing(void);
+