--- android/hal-ipc.c | 4 ++-- android/ipc-common.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/hal-ipc.c b/android/hal-ipc.c index 1f5cc52..4f51c36 100644 --- a/android/hal-ipc.c +++ b/android/hal-ipc.c @@ -509,7 +509,7 @@ int hal_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len, void *param, *rsp_len = cmd.len; - return BT_STATUS_SUCCESS; + return IPC_STATUS_SUCCESS; failed: pthread_mutex_lock(&ipc_mutex); @@ -519,5 +519,5 @@ failed_locked: shutdown(notif_sk, SHUT_RD); pthread_mutex_unlock(&ipc_mutex); - return BT_STATUS_FAIL; + return IPC_STATUS_FAIL; } diff --git a/android/ipc-common.h b/android/ipc-common.h index 27736e4..958ef9e 100644 --- a/android/ipc-common.h +++ b/android/ipc-common.h @@ -24,6 +24,7 @@ #define IPC_MTU 1024 #define IPC_STATUS_SUCCESS 0x00 +#define IPC_STATUS_FAIL 0x01 struct ipc_hdr { uint8_t service_id; -- 1.9.3 -- 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