Parent: 064f48ad6dd0eb4becb94f5492b6c78218065f19
Author: Olivier Martin <olivier@labapart.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-03-07 15:56:26
Tree: 31a7d2759ba67ee570e39b329210cbc27aebdb9b
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
| M | src/adapter.h | | | 1 | + |
| M | src/gatt-database.c | | | 116 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 files changed, 87 insertions(+), 30 deletions(-)