Parent: d8f6a237ab3b91f540f2b8b71fb6a9bece1ae659
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-11-25 23:49:56
Tree: 9b1c0658172804d97c4a099a1b00486c2b9505de
shared/gatt-client: Call ready_handler only in init Currently disconnect_cb calls ready_handler to notify the upper layer if a disconnect occurred during initialization. This patch fixes it so that the handler is only called if in_init is set.
Diffstat
| M | src/shared/gatt-client.c | | | 3 | ++- |
1 files changed, 2 insertions(+), 1 deletions(-)