e1000e: Fix logic reversal keeping link active
[linux-2.6-block.git] / drivers / net / e1000e / netdev.c
index f58f017ee47ae837a45e3f0fcba3e2bafcf81d06..b9b0d321e70b750a21e33f8e11bf7800a83d3fd7 100644 (file)
@@ -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? */