]> git.baikalelectronics.ru Git - kernel.git/commit
phylink: ensure we report link down when LOS asserted
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 26 Dec 2017 23:15:12 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 18:39:11 +0000 (13:39 -0500)
commit86f8aad76c2bc4b715688f2770c6dee6bbcb6dba
tree2040fceb6fa2ab69b4dda512a3435d0329a669b1
parent9630f4b335f8b9ee2a5d425a2009a7f4025d0339
phylink: ensure we report link down when LOS asserted

Although we disable the netdev carrier, we fail to report in the kernel
log that the link went down.  Fix this.

Fixes: 81485403f4ec ("phylink: add phylink infrastructure")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c