From d15f317bd6dcf8a0fec037d74cc051396e88a0b5 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 28 Oct 2013 12:58:56 +0200 Subject: [PATCH] android/hal-av: Fix command struct names The command struct names should start with hal_cmd as the others. --- android/hal-av.c | 4 ++-- android/hal-msg.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/hal-av.c b/android/hal-av.c index dee65b5f7..9e1b3dfa8 100644 --- a/android/hal-av.c +++ b/android/hal-av.c @@ -69,7 +69,7 @@ void bt_notify_av(uint16_t opcode, void *buf, uint16_t len) static bt_status_t av_connect(bt_bdaddr_t *bd_addr) { - struct hal_op_av_connect cmd; + struct hal_cmd_av_connect cmd; DBG(""); @@ -84,7 +84,7 @@ static bt_status_t av_connect(bt_bdaddr_t *bd_addr) static bt_status_t av_disconnect(bt_bdaddr_t *bd_addr) { - struct hal_op_av_disconnect cmd; + struct hal_cmd_av_disconnect cmd; DBG(""); diff --git a/android/hal-msg.h b/android/hal-msg.h index 55c560c21..a0a83904d 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -281,12 +281,12 @@ struct hal_cmd_hid_send_data { } __attribute__((packed)); #define HAL_OP_AV_CONNECT 0x01 -struct hal_op_av_connect { +struct hal_cmd_av_connect { uint8_t bdaddr[6]; } __attribute__((packed)); #define HAL_OP_AV_DISCONNECT 0x02 -struct hal_op_av_disconnect { +struct hal_cmd_av_disconnect { uint8_t bdaddr[6]; } __attribute__((packed)); -- 2.47.3