]> 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)
commit5efb50f170e58de0453901f9c7b9d3582f4f4e30
tree2040fceb6fa2ab69b4dda512a3435d0329a669b1
parent2ba09cb6d5228dcaeb3af505a6002682c6a41941
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: d3eead77c792 ("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