projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14782ca
)
e1000e: Fix logic reversal keeping link active
author
Auke Kok
<auke-jan.h.kok@intel.com>
Mon, 11 Feb 2008 17:25:51 +0000
(09:25 -0800)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 11 Feb 2008 19:51:40 +0000
(14:51 -0500)
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>
drivers/net/e1000e/netdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000e/netdev.c
b/drivers/net/e1000e/netdev.c
index f58f017ee47ae837a45e3f0fcba3e2bafcf81d06..b9b0d321e70b750a21e33f8e11bf7800a83d3fd7 100644
(file)
--- 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? */