Diff between 90bd1a3e849b60aa2328a3a9d8c8289c89cdd2ad and b6b3ff89c92c782af8b7aa5778f88805524f2aff

Changed Files

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

Full Patch

diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c
index 2232ebe..3dbc435 100644
--- a/android/hal-bluetooth.c
+++ b/android/hal-bluetooth.c
@@ -812,7 +812,7 @@ static int dut_mode_send(uint16_t opcode, uint8_t *buf, uint8_t len)
 #if PLATFORM_SDK_VERSION > 17
 static int le_test_mode(uint16_t opcode, uint8_t *buf, uint8_t len)
 {
-	uint8_t cmd_buf[sizeof(struct hal_cmd_dut_mode_send) + len];
+	uint8_t cmd_buf[sizeof(struct hal_cmd_le_test_mode) + len];
 	struct hal_cmd_le_test_mode *cmd = (void *) cmd_buf;
 
 	DBG("opcode %u len %u", opcode, len);