This make it similar to other places in code. --- android/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/main.c b/android/main.c index 2c587b1..71fc60b 100644 --- a/android/main.c +++ b/android/main.c @@ -254,7 +254,7 @@ static gboolean cmd_watch_cb(GIOChannel *io, GIOCondition cond, switch (msg->service_id) { case HAL_SERVICE_ID_CORE: - handle_service_core(msg->opcode, buf + sizeof(*msg), msg->len); + handle_service_core(msg->opcode, msg->payload, msg->len); break; case HAL_SERVICE_ID_BLUETOOTH: bt_adapter_handle_cmd(fd, msg->opcode, msg->payload, msg->len); -- 1.8.4.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