|
@@ -2193,7 +2193,7 @@ static void mxser_transmit_chars(struct tty_struct *tty, struct mxser_port *port
|
|
port->mon_data.up_txcnt += (cnt - port->xmit_cnt);
|
|
port->mon_data.up_txcnt += (cnt - port->xmit_cnt);
|
|
port->icount.tx += (cnt - port->xmit_cnt);
|
|
port->icount.tx += (cnt - port->xmit_cnt);
|
|
|
|
|
|
- if (port->xmit_cnt < WAKEUP_CHARS && tty)
|
|
|
|
|
|
+ if (port->xmit_cnt < WAKEUP_CHARS)
|
|
tty_wakeup(tty);
|
|
tty_wakeup(tty);
|
|
|
|
|
|
if (port->xmit_cnt <= 0) {
|
|
if (port->xmit_cnt <= 0) {
|