]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/net.c
net: Return -EINTR when ctrl+c is pressed
[karo-tx-uboot.git] / net / net.c
index 552d8d17baa74352cbdac1ffaa4d9bf61732baae..3725b20d15eccff1b19b78df49a436520622a65a 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -570,6 +570,7 @@ restart:
                        /* include a debug print as well incase the debug
                           messages are directed to stderr */
                        debug_cond(DEBUG_INT_STATE, "--- net_loop Abort!\n");
+                       ret = -EINTR;
                        goto done;
                }