From 2752dd3347c7b4063615467b0b4bc373c51d67b0 Mon Sep 17 00:00:00 2001 From: Amit Purwar Date: Mon, 28 Jan 2019 10:47:45 +0530 Subject: [PATCH] Fixed disable notify for acquire notification Change-Id: Icf807258aa50836ffb99a7bd67740561850e4cff Signed-off-by: Amit Purwar --- src/gatt-database.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gatt-database.c b/src/gatt-database.c index 6bc6f65..8a893ad 100644 --- a/src/gatt-database.c +++ b/src/gatt-database.c @@ -2562,7 +2562,11 @@ static uint8_t ccc_write_cb(struct bt_att *att, uint16_t value, void *user_data) if (chrc->notify_io) { io_destroy(chrc->notify_io); chrc->notify_io = NULL; +#ifdef TIZEN_FEATURE_BLUEZ_MODIFY + DBG("HUP is not getting generated so calling StopNotify"); +#else return 0; +#endif } /* -- 2.7.4