diff --git a/boards/boardctl.c b/boards/boardctl.c index d28c7b7247..d01cf0467a 100644 --- a/boards/boardctl.c +++ b/boards/boardctl.c @@ -823,7 +823,7 @@ int boardctl(unsigned int cmd, uintptr_t arg) return ERROR; } - return OK; + return ret; } #endif /* CONFIG_BOARDCTL */