Loading drivers/char/n_hdlc.c +6 −1 Original line number Diff line number Diff line Loading @@ -401,6 +401,11 @@ static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) tty->flags |= (1 << TTY_DO_WRITE_WAKEUP); actual = tty->driver->write(tty, tbuf->buf, tbuf->count); /* rollback was possible and has been done */ if (actual == -ERESTARTSYS) { n_hdlc->tbuf = tbuf; break; } /* if transmit error, throw frame away by */ /* pretending it was accepted by driver */ if (actual < 0) Loading Loading
drivers/char/n_hdlc.c +6 −1 Original line number Diff line number Diff line Loading @@ -401,6 +401,11 @@ static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) tty->flags |= (1 << TTY_DO_WRITE_WAKEUP); actual = tty->driver->write(tty, tbuf->buf, tbuf->count); /* rollback was possible and has been done */ if (actual == -ERESTARTSYS) { n_hdlc->tbuf = tbuf; break; } /* if transmit error, throw frame away by */ /* pretending it was accepted by driver */ if (actual < 0) Loading