From: Heiner Kallweit <[email protected]>
Date: Wed, 9 Jan 2019 20:34:56 +0100
> When adding checks to detect wrong usage of the phylib API we added
> a check to phy_start_aneg() which is too strict. If the phylib
> state machine is in state PHY_HALTED we should allow reconfiguring
> and restarting aneg, and just don't touch the state.
>
> Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking")
> Reported-by: Chris Wilson <[email protected]>
> Signed-off-by: Heiner Kallweit <[email protected]>
Applied.