summaryrefslogtreecommitdiff
path: root/android/ipc.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-25 15:13:48 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-25 15:13:48 +0300
commit1610f70cd601ae9a9d5aded98ba746d88fdb151f (patch)
tree4d43e9f43aac30e2989fd3bd114ad24112515bbf /android/ipc.c
parent7d9d4d8772a848e788c2696de9058babab09d16b (diff)
downloadbluez-1610f70cd601ae9a9d5aded98ba746d88fdb151f.tar.gz
android: Rename ERROR enum and command to STATUS
This is more consistent with HAL interface which does name the enum as bt_status_t and does use BT_STATUS prefix.
Diffstat (limited to 'android/ipc.c')
-rw-r--r--android/ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/ipc.c b/android/ipc.c
index 17005e199..bd92c5188 100644
--- a/android/ipc.c
+++ b/android/ipc.c
@@ -80,9 +80,9 @@ void ipc_send(GIOChannel *io, uint8_t service_id, uint8_t opcode, uint16_t len,
void ipc_send_error(GIOChannel *io, uint8_t service_id, uint8_t status)
{
- struct hal_error err;
+ struct hal_status s;
- err.status = status;
+ s.code = status;
- ipc_send(io, service_id, HAL_OP_ERROR, sizeof(err), &err, -1);
+ ipc_send(io, service_id, HAL_OP_STATUS, sizeof(s), &s, -1);
}