Skip to content
Commit e46e08b8 authored by Balakumaran Kannan's avatar Balakumaran Kannan Committed by David S. Miller
Browse files

net phy: Check for aneg completion before setting state to PHY_RUNNING



phy_state_machine should check whether auto-negotiatin is completed
before changing phydev->state from PHY_NOLINK to PHY_RUNNING. If
auto-negotiation is not completed phydev->state should be set to
PHY_AN.

Signed-off-by: default avatarBalakumaran Kannan <kumaran.4353@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 22041fb0
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