Skip to content
Snippets Groups Projects
Commit 58c583b6 authored by Michal Simek's avatar Michal Simek Committed by Wolfgang Denk
Browse files

net: Check network device driver name


If name is longer than allocated space NAMESIZE
mac address is rewritten which show error
message like:

Error message:
Warning: Xlltemac.87000000 MAC addresses don't match:
Address in SROM is         30:00:00:00:00:00
Address in environment is  00:0a:35:00:6a:04

NAMESIZE contains Driver name + zero terminated character.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 03bf22f5
No related branches found
No related tags found
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