X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fbnx2x%2Felink.c;h=b9149b8983baebe58e1902f3bb938e91c105ffd7;hb=09419f235e099ecb265a590778fe64a685a2a241;hp=da2366ec2646cf0260fe792e684153f506307cb1;hpb=f9bd3342114a9db436f71b12ac424aff224482cb;p=dpdk.git diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index da2366ec26..b9149b8983 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -6312,7 +6312,7 @@ elink_status_t elink_link_update(struct elink_params * params, for (phy_index = ELINK_INT_PHY; phy_index < params->num_phys; phy_index++) { phy_vars[phy_index].flow_ctrl = 0; - phy_vars[phy_index].link_status = 0; + phy_vars[phy_index].link_status = ETH_LINK_DOWN; phy_vars[phy_index].line_speed = 0; phy_vars[phy_index].duplex = DUPLEX_FULL; phy_vars[phy_index].phy_link_up = 0;