aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_pxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_pxe.c')
-rw-r--r--common/cmd_pxe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index 3efd7008e..56bd21a42 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -62,6 +62,9 @@ static int format_mac_pxe(char *outbuf, size_t outbuf_len)
ethaddr = from_env("ethaddr");
if (!ethaddr)
+ ethaddr = from_env("usbethaddr");
+
+ if (!ethaddr)
return -ENOENT;
ethaddr_len = strlen(ethaddr);