diff options
author | Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> | 2014-04-22 15:06:00 +0300 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-04-23 21:59:16 +0200 |
commit | 80baeb02f1857ac92099ac415c1e7eb0b67914c5 (patch) | |
tree | bbcc3dc0c39164defd480e8a0e6754ae3fbae3e0 /android/hal-health.c | |
parent | 72d88674b8c82351cb8a888a62fd0fd3393bfd0a (diff) | |
download | bluez-80baeb02f1857ac92099ac415c1e7eb0b67914c5.tar.gz |
android/hal-health: Use correct enums
Diffstat (limited to 'android/hal-health.c')
-rw-r--r-- | android/hal-health.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/hal-health.c b/android/hal-health.c index 8d121073f..4ba6fe776 100644 --- a/android/hal-health.c +++ b/android/hal-health.c @@ -93,7 +93,7 @@ static bt_status_t register_application(bthl_reg_param_t *reg, int *app_id) sizeof(*cmd) + cmd->len, &cmd, &rsp_len, &rsp, NULL); - if (status != HAL_STATUS_SUCCESS) + if (status != BT_STATUS_SUCCESS) return status; for (i = 0; i < reg->number_of_mdeps; i++) { @@ -109,7 +109,7 @@ static bt_status_t register_application(bthl_reg_param_t *reg, int *app_id) sizeof(*mdep) + mdep->descr_len, buf, 0, NULL, NULL); - if (status != HAL_STATUS_SUCCESS) + if (status != BT_STATUS_SUCCESS) return status; } @@ -158,7 +158,7 @@ static bt_status_t connect_channel(int app_id, bt_bdaddr_t *bd_addr, HAL_OP_HEALTH_CONNECT_CHANNEL, sizeof(cmd), &cmd, &len, &rsp, NULL); - if (status == HAL_STATUS_SUCCESS) + if (status == BT_STATUS_SUCCESS) *channel_id = rsp.channel_id; return status; |