patch-2.2.15 linux/drivers/char/mxser.c
Next file: linux/drivers/char/n_hdlc.c
Previous file: linux/drivers/char/moxa.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Apr 21 12:46:04 2000
- Orig file:
v2.2.14/drivers/char/mxser.c
- Orig date:
Tue Jan 4 21:18:46 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/char/mxser.c linux/drivers/char/mxser.c
@@ -716,6 +716,7 @@
tty->ldisc.write_wakeup)
(tty->ldisc.write_wakeup) (tty);
wake_up_interruptible(&tty->write_wait);
+ wake_up_interruptible(&tty->poll_wait);
}
if (test_and_clear_bit(MXSER_EVENT_HANGUP, &info->event)) {
tty_hangup(tty);
@@ -1011,6 +1012,7 @@
info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
restore_flags(flags);
wake_up_interruptible(&tty->write_wait);
+ wake_up_interruptible(&tty->poll_wait);
if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) &&
tty->ldisc.write_wakeup)
(tty->ldisc.write_wakeup) (tty);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)