phylink: ensure we report link down when LOS asserted
authorRussell King <[email protected]>
Tue, 26 Dec 2017 23:15:12 +0000 (23:15 +0000)
committerDavid S. Miller <[email protected]>
Tue, 2 Jan 2018 18:39:11 +0000 (13:39 -0500)
commitac817f5ad066697e4d4d35ec68c974eba2c5f17a
tree2040fceb6fa2ab69b4dda512a3435d0329a669b1
parentd02fd6e7d2933ede6478a15f9e4ce8a93845824e
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: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Russell King <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/phylink.c