Skip to content
Snippets Groups Projects
Commit bdaeb8f2 authored by Michal Simek's avatar Michal Simek
Browse files

common: mii: Do not allow to exceed max phy limit


Phy can have addresses 0-31. Check this boundary to ensure that user
can't call commands on phy address 32 and more.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent f3bd7280
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