Diff between 079956a7f62adcc04eec84970a1914f584570d37 and 22152c829e25f0319ddeec0a92cb57b4cfa7801b
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +2 | -0 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index 841f08c..536a7fe 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -4904,6 +4904,8 @@ static void write_cb(struct gatt_db_attribute *attrib, unsigned int id,
if (opcode == ATT_OP_WRITE_REQ || opcode == ATT_OP_PREP_WRITE_REQ)
ev->need_rsp = 0x01;
+ else
+ gatt_db_attribute_write_result(attrib, id, 0);
ev->length = len;
memcpy(ev->value, value, len);