sfc: Synchronise link_advertising and wanted_fc on Siena
[firefly-linux-kernel-4.4.55.git] / drivers / net / sfc / mcdi_phy.c
index 5c23f22f80c19985281371c5b642e11471867d75..86e43b1f76898b4ad69dd6905b8c7f866567455e 100644 (file)
@@ -395,6 +395,7 @@ static int efx_mcdi_phy_probe(struct efx_nic *efx)
        efx->wanted_fc = EFX_FC_RX | EFX_FC_TX;
        if (phy_data->supported_cap & (1 << MC_CMD_PHY_CAP_AN_LBN))
                efx->wanted_fc |= EFX_FC_AUTO;
+       efx_link_set_wanted_fc(efx, efx->wanted_fc);
 
        return 0;