From 8b27361d95574ab5b5df396606135824fce1d4b2 Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Wed, 19 Nov 2014 10:43:34 +0100 Subject: [PATCH] android/handsfree-client: Fix index type in call action command According to BT HAL API index should be int. --- android/hal-msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/hal-msg.h b/android/hal-msg.h index 99a9c7fa6..c575938d0 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1224,7 +1224,7 @@ struct hal_cmd_hf_client_dial_memory { #define HAL_OP_HF_CLIENT_CALL_ACTION 0x0a struct hal_cmd_hf_client_call_action { uint8_t action; - uint8_t index; + int32_t index; } __attribute__((packed)); #define HAL_OP_HF_CLIENT_QUERY_CURRENT_CALLS 0x0b -- 2.47.3