diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2008-02-11 09:25:51 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 14:51:40 -0500 |
commit | 23b66e2bc2bcebacab7292d7731b7372065b3f98 (patch) | |
tree | 47f2fab4164d2ca8406a6fb5a91c22ea254ca6f3 | |
parent | 14782ca8262818921a460c80a761a93740b838a2 (diff) |
e1000e: Fix logic reversal keeping link active
A logic mishap caused the adapter to keep link while we can
disable it due to WoL not being active, and vice versa.
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index f58f017ee47..b9b0d321e70 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) u16 mii_reg; /* WoL is enabled */ - if (!adapter->wol) + if (adapter->wol) return; /* non-copper PHY? */ |