summaryrefslogtreecommitdiff
path: root/android/hal-health.c
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-06-09 17:28:08 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-10 14:56:29 +0200
commit8801bcae451de24a79c1452ed1ad7dd500b13005 (patch)
treec882ab838da9ebbf8a3f518579ed961540001949 /android/hal-health.c
parent5209ff5032276befd14c45b49f5728f1b75df338 (diff)
downloadbluez-8801bcae451de24a79c1452ed1ad7dd500b13005.tar.gz
android/hal-health: Fix passing buf not cmd for passing data
Diffstat (limited to 'android/hal-health.c')
-rw-r--r--android/hal-health.c2
1 files changed, 1 insertions, 1 deletions
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)