summaryrefslogtreecommitdiff
path: root/net/lwip/tftp.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-02-12 08:41:36 -0600
committerTom Rini <trini@konsulko.com>2025-02-12 12:37:30 -0600
commit9b35357b95e30fd670869b4348159b65e102cc82 (patch)
tree2aee5b7566dc114ee0f02c4507c94885d1eb72d2 /net/lwip/tftp.c
parent3da1864b1f2fc3cf2b4eaa1849bcafa669ff674c (diff)
parenta091d173e32b98fe372b5b02d4e25c81f1bc9dc1 (diff)
Merge branch 'u-boot-net-20250212' of https://source.denx.de/u-boot/custodians/u-boot-net
CI: https://source.denx.de/u-boot/custodians/u-boot-net/-/pipelines/24577 net-lwip: * Fix incorrect selection of ethernet device on boards having more than one * Fix TFTP option processing * Make the WGET_HTTPS Kconfig symbol depend on DM_RNG lib: * Add strnstr()
Diffstat (limited to 'net/lwip/tftp.c')
-rw-r--r--net/lwip/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/lwip/tftp.c b/net/lwip/tftp.c
index fc4aff5f2ba..123d66b5dba 100644
--- a/net/lwip/tftp.c
+++ b/net/lwip/tftp.c
@@ -280,7 +280,7 @@ int do_tftpb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
goto out;
}
- eth_set_current();
+ net_lwip_set_current();
if (tftp_loop(eth_get_dev(), laddr, fname, srvip, port) < 0)
ret = CMD_RET_FAILURE;