diff options
author | Oliver Neukum <oliver@neukum.org> | 2005-06-16 05:26:38 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-16 16:02:59 (GMT) |
commit | 58125f95c62a44f12bb71c58ef70f0068d20c7a2 (patch) | |
tree | 633880e297915359244176619b18838bee45769e | |
parent | e41fb09b2fa15db095d3ee981299f488d7b48dfe (diff) | |
download | linux-fsl-qoriq-58125f95c62a44f12bb71c58ef70f0068d20c7a2.tar.xz |
[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>
-rw-r--r-- | drivers/usb/net/kaweth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c index a9a7cf4..fd6ff4c 100644 --- 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); |