diff options
Diffstat (limited to 'drivers/net/ne2000_base.c')
-rw-r--r-- | drivers/net/ne2000_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne2000_base.c b/drivers/net/ne2000_base.c index 377d87f04b..f6e5eafba5 100644 --- a/drivers/net/ne2000_base.c +++ b/drivers/net/ne2000_base.c @@ -723,7 +723,7 @@ static int ne2k_setup_driver(struct eth_device *dev) * returns -1 due to eth_getenv_enetaddr_by_index() failing, * and this causes "Warning: failed to set MAC address", and * cmd_bdinfo has no ethaddr value which it can show: */ - eth_setenv_enetaddr("ethaddr", dev->enetaddr); + eth_env_set_enetaddr("ethaddr", dev->enetaddr); } return 0; } |