Skip to content
Snippets Groups Projects
Commit e408c421 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

dm: eth: Correctly detect alias in eth_get_dev_by_name()


When given a device name string, we should test to see if it is
really an alias like "eth#".

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 71d7971f
No related branches found
No related tags found
Loading
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