From 3e60caf6778ef5b1495a7d5612126ff5598b4df3 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Fri, 8 Nov 2013 00:10:14 +0200 Subject: [PATCH] android/hid: Add missing parameters in send data struct in HAL headers --- android/hal-msg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/hal-msg.h b/android/hal-msg.h index 7045c8c52..29fc6e65b 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -298,7 +298,9 @@ struct hal_cmd_hidhost_set_report { #define HAL_OP_HIDHOST_SEND_DATA 0x09 struct hal_cmd_hidhost_send_data { - uint8_t bdaddr[6]; + uint8_t bdaddr[6]; + uint16_t len; + uint8_t data[0]; } __attribute__((packed)); /* a2dp HAL API */ -- 2.47.3