Skip to content

Commit

Permalink
bnx2x: Flow control updated before reporting the link
Browse files Browse the repository at this point in the history
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Jan 15, 2009
1 parent ad33ea3 commit 3c96c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
@@ -1970,10 +1970,11 @@ static u8 bnx2x_initial_phy_init(struct bnx2x *bp)
rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars);
bnx2x_release_phy_lock(bp);

bnx2x_calc_fc_adv(bp);

if (bp->link_vars.link_up)
bnx2x_link_report(bp);

bnx2x_calc_fc_adv(bp);

return rc;
}

0 comments on commit 3c96c68

Please sign in to comment.