mirror of
https://xff.cz/git/u-boot/
synced 2025-11-02 19:36:22 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user