X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fnet%2Fphy%2Fphylink.c;h=150cd95a6e1ed64555ee40687ce068b301004e29;hb=ac817f5ad066697e4d4d35ec68c974eba2c5f17a;hp=827f3f92560e711a17514055cb96adfbc05708f7;hpb=d02fd6e7d2933ede6478a15f9e4ce8a93845824e;p=mirror_ubuntu-bionic-kernel.git diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 827f3f92560e..150cd95a6e1e 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -1429,9 +1429,8 @@ static void phylink_sfp_link_down(void *upstream) WARN_ON(!lockdep_rtnl_is_held()); set_bit(PHYLINK_DISABLE_LINK, &pl->phylink_disable_state); + queue_work(system_power_efficient_wq, &pl->resolve); flush_work(&pl->resolve); - - netif_carrier_off(pl->netdev); } static void phylink_sfp_link_up(void *upstream)