Skip to content
Snippets Groups Projects
Commit b2eff088 authored by Bo Shen's avatar Bo Shen Committed by Tom Rini
Browse files

net: macb: write mac address when initialization


When boot up without mac address setting, it will give the warning
message like: "Warning: failed to set MAC address", however when
execute network related command, it still execute them without any
warning information.

With this patch, it will exit directly with following information:
"gmac0: mac address is not valid"

It also solve the problem after bootup then set mac address and the
mac address won't set to net device issue.

Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Tested-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent bdf790fa
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment