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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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) {


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux