Skip to content
Commit cf18b778 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by David S. Miller
Browse files

net: phy: reset only targeted phy



It is possible to address another chip on same MDIO bus. The case is
correctly handled for media advertising. It is taken into account
only if mii_data->phy_id == phydev->addr. However, this condition
was missing for reset case.

Signed-off-by: default avatarJérôme Pouiller <jezz@sysmic.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5ba5c8a
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