Diff between e157be921bb57fda91a2f2e62623ab39a205a031 and bf963a26c439b729af56f21f88bc91a756fdaf22

Changed Files

File Additions Deletions Status
android/gatt.c +1 -1 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index f39a66b..e24feb7 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -6448,7 +6448,7 @@ static uint8_t write_prep_request(const uint8_t *cmd, uint16_t cmd_len,
 	data->value = g_memdup(value, vlen);
 	data->length = vlen;
 
-	if (!gatt_db_attribute_write(attrib, 0, value, vlen, cmd[0],
+	if (!gatt_db_attribute_write(attrib, offset, value, vlen, cmd[0],
 					&dev->bdaddr, attribute_write_cb,
 					data)) {
 		queue_remove(dev->pending_requests, data);