net: phy: xpcs: Restart AutoNeg if outcome was invalid
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 20 Mar 2020 09:53:37 +0000 (10:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 04:01:58 +0000 (21:01 -0700)
commit1874b83a39be5009adb65ed541fa846a8cc99224
treee06b99e18e5fc5d504803bfad4882c1e81d969aa
parente1eab7dfa6f3445ee1b1b0e6b7f029437de19ea5
net: phy: xpcs: Restart AutoNeg if outcome was invalid

Restart AutoNeg if we didn't get a valid result from previous run.

Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-xpcs.c