aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/net/kaweth.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2005-06-16 01:26:38 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-16 12:02:59 -0400
commit58125f95c62a44f12bb71c58ef70f0068d20c7a2 (patch)
tree633880e297915359244176619b18838bee45769e /drivers/usb/net/kaweth.c
parente41fb09b2fa15db095d3ee981299f488d7b48dfe (diff)
[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>
Diffstat (limited to 'drivers/usb/net/kaweth.c')
-rw-r--r--drivers/usb/net/kaweth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c
index a9a7cf4a38eb..fd6ff4cb2c62 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)
520 520
521 /* we check the link state to report changes */ 521 /* we check the link state to report changes */
522 if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { 522 if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) {
523 if (!act_state) 523 if (act_state)
524 netif_carrier_on(kaweth->net); 524 netif_carrier_on(kaweth->net);
525 else 525 else
526 netif_carrier_off(kaweth->net); 526 netif_carrier_off(kaweth->net);