linux-mips
[Top] [All Lists]

[PATCH] Fix character loss in drivers/tc/zs.c

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: [PATCH] Fix character loss in drivers/tc/zs.c
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Sun, 21 Sep 2003 23:31:04 +0200
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.4i
Hello Maciej,

this patch reduces the zs driver's character lossage.


Thiemo


diff -abdpruNPX /bigdisk/src/dontdiff linux-orig/drivers/tc/zs.c 
linux/drivers/tc/zs.c
--- linux-orig/drivers/tc/zs.c  Tue Aug 12 04:11:58 2003
+++ linux/drivers/tc/zs.c       Sun Sep 21 22:28:40 2003
@@ -456,7 +456,7 @@ static _INLINE_ void receive_chars(struc
 
                if (info->hook && info->hook->rx_char) {
                        (*info->hook->rx_char)(ch, flag);
-                       return;
+                       break;
                }
 
                if (tty->flip.count >= TTY_FLIPBUF_SIZE) {

<Prev in Thread] Current Thread [Next in Thread>