phylink: restart 802.3z negotiation when starting net device
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Dec 2017 10:24:42 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:16:18 +0000 (11:16 -0500)
commit85b43945cf758704f5d97767ec70a317c6c8d8eb
tree26fedad58b0d6025243cd4dd62f692c1c47320ea
parent939eae25d9a509bb9a91c9b4a3988a5cc61ddae4
phylink: restart 802.3z negotiation when starting net device

Restart 802.3z negotiation when the net device is brought up to ensure
that the link partner has our current link modes.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c