2013-11-19 20:59:23

by Ravi kumar Veeramally

[permalink] [raw]
Subject: [PATCH] android/hal-a2dp: Fix expected size of hal_ev_a2dp conn_state and audio_state

---
android/hal-a2dp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/hal-a2dp.c b/android/hal-a2dp.c
index 7d91151..cf39ba2 100644
--- a/android/hal-a2dp.c
+++ b/android/hal-a2dp.c
@@ -54,12 +54,12 @@ static const struct hal_ipc_handler ev_handlers[] = {
{ /* HAL_EV_A2DP_CONN_STATE */
.handler = handle_conn_state,
.var_len = false,
- .data_len = sizeof(struct hal_ev_pan_conn_state),
+ .data_len = sizeof(struct hal_ev_a2dp_conn_state),
},
{ /* HAL_EV_A2DP_AUDIO_STATE */
.handler = handle_audio_state,
.var_len = false,
- .data_len = sizeof(struct hal_ev_pan_ctrl_state),
+ .data_len = sizeof(struct hal_ev_a2dp_audio_state),
},
};

--
1.8.3.2



2013-11-20 07:42:06

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] android/hal-a2dp: Fix expected size of hal_ev_a2dp conn_state and audio_state

Hi Ravi,

On Tue, Nov 19, 2013, Ravi kumar Veeramally wrote:
> ---
> android/hal-a2dp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan