aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/82571.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r--drivers/net/e1000e/82571.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c
index 11e72b64e87d..60c15cbbc401 100644
--- a/drivers/net/e1000e/82571.c
+++ b/drivers/net/e1000e/82571.c
@@ -1118,8 +1118,8 @@ static s32 e1000_setup_link_82571(struct e1000_hw *hw)
1118 * set it to full. 1118 * set it to full.
1119 */ 1119 */
1120 if ((hw->mac.type == e1000_82573 || hw->mac.type == e1000_82574) && 1120 if ((hw->mac.type == e1000_82573 || hw->mac.type == e1000_82574) &&
1121 hw->fc.type == e1000_fc_default) 1121 hw->fc.requested_mode == e1000_fc_default)
1122 hw->fc.type = e1000_fc_full; 1122 hw->fc.requested_mode = e1000_fc_full;
1123 1123
1124 return e1000e_setup_link(hw); 1124 return e1000e_setup_link(hw);
1125} 1125}