]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/isdn/i4l/isdn_common.c
[ISDN]: i4l: Fix DLE handling for i4l-audio
[karo-tx-linux.git] / drivers / isdn / i4l / isdn_common.c
index d6952959d72afc643be51248cadd523e2a0ebcf7..9cef6fcf587b6baaef9df48c3616779262d6d3a9 100644 (file)
@@ -914,6 +914,9 @@ isdn_readbchan_tty(int di, int channel, struct tty_struct *tty, int cisco_hack)
                        dflag = 0;
                        count_pull = count_put = 0;
                        while ((count_pull < skb->len) && (len > 0)) {
+                               /* push every character but the last to the tty buffer directly */
+                               if ( count_put )
+                                       tty_insert_flip_char(tty, last, TTY_NORMAL);
                                len--;
                                if (dev->drv[di]->DLEflag & DLEmask) {
                                        last = DLE;