diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-01-15 00:25:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-15 11:28:12 -0500 |
commit | 3c96c68b0c67d11b8519bc38233aec586f0211f4 (patch) | |
tree | d2426b8205b22b7efa05bd93b40371ade15f60ac | |
parent | ad33ea3a8d2ec324dc0f46b6ae404d824d2b349b (diff) |
bnx2x: Flow control updated before reporting the link
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/bnx2x_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 9b1555820f52..4f1ee1f2968c 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -1970,10 +1970,11 @@ static u8 bnx2x_initial_phy_init(struct bnx2x *bp) | |||
1970 | rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); | 1970 | rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); |
1971 | bnx2x_release_phy_lock(bp); | 1971 | bnx2x_release_phy_lock(bp); |
1972 | 1972 | ||
1973 | bnx2x_calc_fc_adv(bp); | ||
1974 | |||
1973 | if (bp->link_vars.link_up) | 1975 | if (bp->link_vars.link_up) |
1974 | bnx2x_link_report(bp); | 1976 | bnx2x_link_report(bp); |
1975 | 1977 | ||
1976 | bnx2x_calc_fc_adv(bp); | ||
1977 | 1978 | ||
1978 | return rc; | 1979 | return rc; |
1979 | } | 1980 | } |