Parent: 05e877aaca14a2ce3a150bfaf05c3f23a497ccf2
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-02 13:27:50
Tree: f70bdf7ccd2252a2b5a2f17dc66e149315f9745e
core/device: Don't check ready in service_removed shared/gatt-client clears a given gatt-db if there's an error during its init sequence, even if the given gatt-db was previously populated (e.g. from a cache). This is to make sure that the database contents are at no point invalid. This patch removes a check for bt_gatt_client_is_ready and the corresponding early-return from btd_device's service_removed handler, so that other layers can be notified of invalidated gatt_db_attribute pointers.
Diffstat
| M | src/device.c | | | 17 | +++++++++++++++- - |
1 files changed, 15 insertions(+), 2 deletions(-)