summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWootak Jung <wootak.jung@samsung.com>2019-11-15 15:52:40 +0900
committerWootak Jung <wootak.jung@samsung.com>2019-11-15 15:52:40 +0900
commit51fb0618ed3682d81912f99d074191647e865ad2 (patch)
tree2c81536459bdc8a2face5457d420c35f2deb64a8
parent509a01d43ce9489c9159a3cca65968131f1ca672 (diff)
downloadbluez-51fb0618ed3682d81912f99d074191647e865ad2.tar.gz
bluez-51fb0618ed3682d81912f99d074191647e865ad2.tar.bz2
bluez-51fb0618ed3682d81912f99d074191647e865ad2.zip
write request is failed on server side because response_needed is not set. Change-Id: Id63b9e8dda44917ec5442b3224c136952c69c4fc
-rw-r--r--src/gatt-database.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gatt-database.c b/src/gatt-database.c
index e612205e..98c0b324 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -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;