Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58125f95 authored by Oliver Neukum's avatar Oliver Neukum Committed by Linus Torvalds
Browse files

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



Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e41fb09b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);