[PATCH 01/11] android/hal-health: Use correct enums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/hal-health.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/android/hal-health.c b/android/hal-health.c
index 8d12107..4ba6fe7 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;
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux