aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/ethosu_network_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/ethosu_network_info.c b/kernel/ethosu_network_info.c
index da95309..52adf9c 100644
--- a/kernel/ethosu_network_info.c
+++ b/kernel/ethosu_network_info.c
@@ -116,6 +116,8 @@ int ethosu_network_info_request(struct ethosu_network *net,
goto deregister;
}
+ ret = info->errno;
+
deregister:
ethosu_mailbox_deregister(&info->edev->mailbox, &info->msg);
ethosu_network_put(info->net);