Fixed disable notify for acquire notification 09/198609/1 accepted/tizen/unified/20190129.064358 submit/tizen/20190129.000858
authorAmit Purwar <amit.purwar@samsung.com>
Mon, 28 Jan 2019 05:17:45 +0000 (10:47 +0530)
committerAmit Purwar <amit.purwar@samsung.com>
Mon, 28 Jan 2019 05:17:45 +0000 (10:47 +0530)
Change-Id: Icf807258aa50836ffb99a7bd67740561850e4cff
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
src/gatt-database.c

index 6bc6f65..8a893ad 100644 (file)
@@ -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
                }
 
                /*