]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: eth-raw-os: successful return code is 0
authorMaxim Uvarov <maxim.uvarov@linaro.org>
Tue, 26 Dec 2023 15:46:14 +0000 (21:46 +0600)
committerTom Rini <trini@konsulko.com>
Thu, 11 Jan 2024 16:24:58 +0000 (11:24 -0500)
all network drivers return 0 on the successful
transmission.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/eth-raw-os.c

index e59b96be5fb8b298f978d04b3bb96122ec7da11a..92c35aed95dd984e4581ab93c685e31e050b9bb7 100644 (file)
@@ -256,7 +256,7 @@ int sandbox_eth_raw_os_send(void *packet, int length,
                       strerror(errno));
                return -errno;
        }
-       return retval;
+       return 0;
 }
 
 int sandbox_eth_raw_os_recv(void *packet, int *length,