]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 19 Jul 2018 06:15:16 +0000 (08:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 23:20:38 +0000 (16:20 -0700)
commit91af2312f1edec368cd20469444b183d8ffe1896
tree134b54ef6258dde6510230c971c941db9457db45
parent6765f263dcb4a7f68d99fca39daf3793face2d92
net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv

The situation described in the comment can occur also with
PHY_IGNORE_INTERRUPT, therefore change the condition to include it.

Fixes: 7a6387ca6749 ("net: phy: fix auto-negotiation stall due to unavailable interrupt")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c