Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83477
b: refs/heads/master
c: 54d2a37
h: refs/heads/master
i:
  83475: 8896440
v: v3
  • Loading branch information
Joe Peterson authored and Linus Torvalds committed Feb 6, 2008
1 parent 968b6fe commit 496b408
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1373bed34e30b8632aaf43aa85d72329c83f7077
refs/heads/master: 54d2a37eda3211d3b14c162238e9ccee43e023a9
11 changes: 5 additions & 6 deletions trunk/drivers/char/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,17 +695,16 @@ static inline void n_tty_receive_char(struct tty_struct *tty, unsigned char c)
return;
}

if (tty->stopped && !tty->flow_stopped &&
I_IXON(tty) && I_IXANY(tty)) {
start_tty(tty);
return;
}

if (I_ISTRIP(tty))
c &= 0x7f;
if (I_IUCLC(tty) && L_IEXTEN(tty))
c=tolower(c);

if (tty->stopped && !tty->flow_stopped && I_IXON(tty) &&
((I_IXANY(tty) && c != START_CHAR(tty) && c != STOP_CHAR(tty)) ||
c == INTR_CHAR(tty) || c == QUIT_CHAR(tty)))
start_tty(tty);

if (tty->closing) {
if (I_IXON(tty)) {
if (c == START_CHAR(tty))
Expand Down

0 comments on commit 496b408

Please sign in to comment.