Parent: cca82f72ce7d7b6cd08e8da232dce6b0885bfd94
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-10-02 11:21:07
Tree: f9cf06805d425afd4a41f01c2998e03243e2f4eb
gatt: Fix not cleaning up device state properly If the device is removed locally device_free would end up calling bt_att_unref which won't trigger any disconnect callback necessary to remove device states.
Diffstat
| M | src/device.c | | | 3 | +++ |
| M | src/gatt-database.c | | | 28 | ++++++++++++++++++++++++++- - |
| M | src/gatt-database.h | | | 2 | ++ |
3 files changed, 31 insertions(+), 2 deletions(-)