Skip to content
Commit 79540d13 authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by David S. Miller
Browse files

net: macb: Fix handling of fixed-link node

fixed-link nodes are treated as PHY nodes by of_mdiobus_child_is_phy().
We must check if the interface is a fixed-link before looking up for PHY
nodes.

Fixes: 7897b071

 ("net: macb: convert to phylink")
Tested-by: default avatarCristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f772148e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment