summaryrefslogtreecommitdiff
path: root/net/eth_bootdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth_bootdev.c')
-rw-r--r--net/eth_bootdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_bootdev.c b/net/eth_bootdev.c
index fdf48f0013..bcbb35a74c 100644
--- a/net/eth_bootdev.c
+++ b/net/eth_bootdev.c
@@ -27,7 +27,7 @@ static int eth_get_bootflow(struct udevice *dev, struct bootflow_iter *iter,
int ret;
/* Must be an Ethernet device */
- ret = bootflow_iter_uses_network(iter);
+ ret = bootflow_iter_check_net(iter);
if (ret)
return log_msg_ret("net", ret);