Fixed disable notify for acquire notification
[platform/upstream/bluez.git] / 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
                }
 
                /*