Fix response_needed not set issue 76/217876/1 accepted/tizen/5.5/unified/20191118.084835 accepted/tizen/5.5/unified/20191120.130938 accepted/tizen/5.5/unified/20191121.073247 accepted/tizen/unified/20191118.122944 submit/tizen/20191115.070745 submit/tizen_5.5/20191115.070441 submit/tizen_5.5/20191115.070934 submit/tizen_5.5/20191118.005342 submit/tizen_5.5/20191118.011157 submit/tizen_5.5/20191119.233738
authorWootak Jung <wootak.jung@samsung.com>
Fri, 15 Nov 2019 06:52:40 +0000 (15:52 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 15 Nov 2019 06:52:40 +0000 (15:52 +0900)
write request is failed on server side because
response_needed is not set.

Change-Id: Id63b9e8dda44917ec5442b3224c136952c69c4fc

src/gatt-database.c

index e612205..98c0b32 100644 (file)
@@ -2516,6 +2516,9 @@ static struct pending_op *pending_write_new(struct btd_device *device,
        op->owner_queue = owner_queue;
        op->attrib = attrib;
        op->id = id;
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+       op->opcode = opcode;
+#endif
        op->offset = offset;
        op->link_type = link_type;
        op->is_characteristic = is_characteristic;