Diff between 8c35ec18d734e3e1e35c7e8c4e67fcdc780f4fce and 05050e76d4126744a2b55be1daaa5044ca3f79e9

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 19e0e83..3bc2462 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -3483,6 +3483,9 @@ static uint8_t test_read_write(bdaddr_t *bdaddr, bt_uuid_t *uuid, uint16_t op,
 									mtu);
 		break;
 	case ATT_OP_PREP_WRITE_REQ:
+		length = enc_prep_write_req(u2, u3, (uint8_t *) &u4, sizeof(u4),
+								pdu, mtu);
+		break;
 	case ATT_OP_EXEC_WRITE_REQ:
 	default:
 		error("gatt: Unknown operation type");