Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] fix for kaweth broken by changes in the networking layer

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Oliver Neukum and committed by
Linus Torvalds
58125f95 e41fb09b

+1 -1
+1 -1
drivers/usb/net/kaweth.c
··· 520 520 521 521 /* we check the link state to report changes */ 522 522 if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { 523 - if (!act_state) 523 + if (act_state) 524 524 netif_carrier_on(kaweth->net); 525 525 else 526 526 netif_carrier_off(kaweth->net);