commit | e46e08b843d8ff8c46ad8d7b0b95acaacc4e6195 | [log] [tgz] |
---|---|---|
author | Balakumaran Kannan <kumaran.4353@gmail.com> | Thu Apr 24 08:22:47 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri May 02 15:50:57 2014 -0400 |
tree | 7c701f63cca0b50f09b655e06543f9de79264e29 | |
parent | 22041fb05b66387b2854f789d1e1f55c7d07b4f4 [diff] |
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: Balakumaran Kannan <kumaran.4353@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>