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:
e41fb09
)
[PATCH] fix for kaweth broken by changes in the networking layer
author
Oliver Neukum
<oliver@neukum.org>
Thu, 16 Jun 2005 05:26:38 +0000
(22:26 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 16 Jun 2005 16:02:59 +0000
(09:02 -0700)
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/net/kaweth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/net/kaweth.c
b/drivers/usb/net/kaweth.c
index a9a7cf4a38ebd2035cbaf5f1c842f259953583aa..fd6ff4cb2c6273d753d4daaaffebb230ce22b498 100644
(file)
--- a/
drivers/usb/net/kaweth.c
+++ b/
drivers/usb/net/kaweth.c
@@
-520,7
+520,7
@@
static void int_callback(struct urb *u, struct pt_regs *regs)
/* we check the link state to report changes */
if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) {
- if (
!
act_state)
+ if (act_state)
netif_carrier_on(kaweth->net);
else
netif_carrier_off(kaweth->net);