sandbox: eth-raw-os: successful return code is 0

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>
This commit is contained in:
Maxim Uvarov 2023-12-26 21:46:14 +06:00 committed by Tom Rini
parent f5ead4c5fb
commit f3384d7fbb

View 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,