bt_health_register_app contains variable data. --- android/health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/health.c b/android/health.c index e4f8cbd..0cda91a 100644 --- a/android/health.c +++ b/android/health.c @@ -80,7 +80,7 @@ static void bt_health_destroy_channel(const void *buf, uint16_t len) static const struct ipc_handler cmd_handlers[] = { /* HAL_OP_HEALTH_REG_APP */ - { bt_health_register_app, false, + { bt_health_register_app, true, sizeof(struct hal_cmd_health_reg_app) }, /* HAL_OP_HEALTH_UNREG_APP */ { bt_health_unregister_app, false, -- 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