Diff between 70f1b9bfff16f0e51e1d5914b37301a9a895268e and 8c35ec18d734e3e1e35c7e8c4e67fcdc780f4fce

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 a5c00cb..19e0e83 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -3479,6 +3479,9 @@ static uint8_t test_read_write(bdaddr_t *bdaddr, bt_uuid_t *uuid, uint16_t op,
 									mtu);
 		break;
 	case ATT_OP_WRITE_CMD:
+		length = enc_write_cmd(u2, (uint8_t *) &u3, sizeof(u3), pdu,
+									mtu);
+		break;
 	case ATT_OP_PREP_WRITE_REQ:
 	case ATT_OP_EXEC_WRITE_REQ:
 	default: