net: phy: don't reschedule state machine when PHY is halted
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 20 Sep 2018 20:34:25 +0000 (22:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 01:59:29 +0000 (18:59 -0700)
commit075ddebc3283e83ac56fcc8f4bb44c15cef0d7ce
tree38f7cd5af1590e8a6f4880beffe2728ed303fb32
parent7979472bba8bf63f0f76a37d48d59a26210d9bee
net: phy: don't reschedule state machine when PHY is halted

When being in state PHY_HALTED we don't have to reschedule the
state machine, phy_start() will start it again.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c