]> git.baikalelectronics.ru Git - kernel.git/commit
phylink: ensure we take the link down when phylink_stop() is called
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 30 Nov 2017 13:59:26 +0000 (13:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Dec 2017 20:18:42 +0000 (15:18 -0500)
commit9666ce2147f708ccf38c64e3aeaa7fb0d9c065dc
tree885078df4b8d83aa0d8eb6f32e0852c6bbe01a76
parentd6c78d3d30d6dc2c5bca313eb7a7a28e6ff95a42
phylink: ensure we take the link down when phylink_stop() is called

Ensure that we tell the MAC to take the link down when phylink_stop()
is called, and that this completes prior to phylink_stop() returns.

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