From: Jesse Brandeburg Date: Thu, 21 Feb 2008 23:10:57 +0000 (-0800) Subject: e1000e: fix flow control when using ethtool overrides X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4a5694e66428607585c9f4dd14bcf4158d2de191;p=openwrt%2Fstaging%2Fblogic.git e1000e: fix flow control when using ethtool overrides Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c index 16f35fadb74b..0860b5fb3471 100644 --- a/drivers/net/e1000e/lib.c +++ b/drivers/net/e1000e/lib.c @@ -589,9 +589,6 @@ static s32 e1000_set_default_fc_generic(struct e1000_hw *hw) s32 ret_val; u16 nvm_data; - if (mac->fc != e1000_fc_default) - return 0; - /* Read and store word 0x0F of the EEPROM. This word contains bits * that determine the hardware's default PAUSE (flow control) mode, * a bit that determines whether the HW defaults to enabling or