From: Balakumaran Kannan Date: Thu, 24 Apr 2014 02:52:47 +0000 (+0530) Subject: net phy: Check for aneg completion before setting state to PHY_RUNNING X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46e08b843d8ff8c46ad8d7b0b95acaacc4e6195;p=pandora-kernel.git 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 Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed