aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index f58f017ee47a..b9b0d321e70b 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -2008,7 +2008,7 @@ static void e1000_power_down_phy(struct e1000_adapter *adapter)
2008 u16 mii_reg; 2008 u16 mii_reg;
2009 2009
2010 /* WoL is enabled */ 2010 /* WoL is enabled */
2011 if (!adapter->wol) 2011 if (adapter->wol)
2012 return; 2012 return;
2013 2013
2014 /* non-copper PHY? */ 2014 /* non-copper PHY? */