Diff between a94d2065b6123e522509d235fbfc9f2d162524cb and f6b9be29da983b5f1f6c5d6927693bad012c5064

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 f450eac..ddba505 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -5219,7 +5219,7 @@ static uint8_t write_prep_request(const uint8_t *cmd, uint16_t cmd_len,
 
 	data->handle = handle;
 	data->offset = offset;
-	data->state = REQUEST_INIT;
+	data->state = REQUEST_PENDING;
 
 	if (!queue_push_tail(dev->pending_requests, data)) {
 		free(data);