Commit:     23b66e2bc2bcebacab7292d7731b7372065b3f98
Parent:     14782ca8262818921a460c80a761a93740b838a2
Author:     Auke Kok <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 11 09:25:51 2008 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Mon Feb 11 14:51:40 2008 -0500

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 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 f58f017..b9b0d32 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 
        u16 mii_reg;
        /* WoL is enabled */
-       if (!adapter->wol)
+       if (adapter->wol)
        /* non-copper PHY? */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to