diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-11 11:25:07 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-11 11:25:07 -0500 |
commit | 2ee7a8ec6f1711abe9619fd8765edc16742be9de (patch) | |
tree | e367c8c4048f50cdc61b8af8a7b70deff4302607 /drivers/net | |
parent | d3dba8a28bb7f57a4558c944f9c329c467144633 (diff) | |
parent | d914487f8ffbb466086b3d6259e4b05f73147cf6 (diff) | |
download | u-boot-2ee7a8ec6f1711abe9619fd8765edc16742be9de.tar.gz u-boot-2ee7a8ec6f1711abe9619fd8765edc16742be9de.tar.bz2 u-boot-2ee7a8ec6f1711abe9619fd8765edc16742be9de.zip |
Merge patch series "net fixes prior lwip"
Maxim Uvarov <maxim.uvarov@linaro.org> says:
Add small net fixes prior lwip patches.
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/rtl8139.c | 2 | ||||
-rw-r--r-- | drivers/net/smc911x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 106bc1c7ae..d8f24ec81a 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -453,7 +453,7 @@ static int rtl8139_recv_common(struct rtl8139_priv *priv, unsigned char *rxdata, RTL_STS_RXBADALIGN)) || (rx_size < ETH_ZLEN) || (rx_size > ETH_FRAME_LEN + 4)) { - printf("rx error %hX\n", rx_status); + debug("rx error %hX\n", rx_status); /* this clears all interrupts still pending */ rtl8139_reset(priv); return 0; diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 5c5ad8b84a..616b7ce174 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -403,7 +403,7 @@ static int smc911x_send(struct udevice *dev, void *packet, int length) ret = smc911x_send_common(priv, packet, length); - return ret ? 0 : -ETIMEDOUT; + return ret ? -ETIMEDOUT : 0; } static int smc911x_recv(struct udevice *dev, int flags, uchar **packetp) |