diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/istallion.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index 63d22b5ebc0d..f9ebcd41d8e5 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c | |||
@@ -925,8 +925,7 @@ static void stli_close(struct tty_struct *tty, struct file *filp) | |||
925 | clear_bit(ST_TXBUSY, &portp->state); | 925 | clear_bit(ST_TXBUSY, &portp->state); |
926 | clear_bit(ST_RXSTOP, &portp->state); | 926 | clear_bit(ST_RXSTOP, &portp->state); |
927 | set_bit(TTY_IO_ERROR, &tty->flags); | 927 | set_bit(TTY_IO_ERROR, &tty->flags); |
928 | if (tty->ldisc.ops->flush_buffer) | 928 | tty_ldisc_flush(tty); |
929 | (tty->ldisc.ops->flush_buffer)(tty); | ||
930 | set_bit(ST_DOFLUSHRX, &portp->state); | 929 | set_bit(ST_DOFLUSHRX, &portp->state); |
931 | stli_flushbuffer(tty); | 930 | stli_flushbuffer(tty); |
932 | 931 | ||