Diff between 23f5f2fc3c4800ac4f132883bf8565f3af004309 and 70f1b9bfff16f0e51e1d5914b37301a9a895268e

Changed Files

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

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index c455695..a5c00cb 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -3475,6 +3475,9 @@ static uint8_t test_read_write(bdaddr_t *bdaddr, bt_uuid_t *uuid, uint16_t op,
 	case ATT_OP_READ_MULTI_REQ:
 		return HAL_STATUS_UNSUPPORTED;
 	case ATT_OP_WRITE_REQ:
+		length = enc_write_req(u2, (uint8_t *) &u3, sizeof(u3), pdu,
+									mtu);
+		break;
 	case ATT_OP_WRITE_CMD:
 	case ATT_OP_PREP_WRITE_REQ:
 	case ATT_OP_EXEC_WRITE_REQ: