From 8801bcae451de24a79c1452ed1ad7dd500b13005 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Mon, 9 Jun 2014 17:28:08 +0300 Subject: [PATCH] android/hal-health: Fix passing buf not cmd for passing data --- android/hal-health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/hal-health.c b/android/hal-health.c index 427d4c92c..8e739057a 100644 --- a/android/hal-health.c +++ b/android/hal-health.c @@ -92,7 +92,7 @@ static bt_status_t register_application(bthl_reg_param_t *reg, int *app_id) cmd->len = off; status = hal_ipc_cmd(HAL_SERVICE_ID_HEALTH, HAL_OP_HEALTH_REG_APP, - sizeof(*cmd) + cmd->len, &cmd, + sizeof(*cmd) + cmd->len, buf, &rsp_len, &rsp, NULL); if (status != BT_STATUS_SUCCESS) -- 2.11.0