Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259335
b: refs/heads/master
c: 7b292b4
h: refs/heads/master
i:
  259333: 72aba64
  259331: 2b70f86
  259327: b163d0e
v: v3
  • Loading branch information
Andrew McGregor authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent ebe754f commit 7c0ca47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8168e9c2de7383c497aff9cd906dd475f9b42b2c
refs/heads/master: 7b292b4bf9a9d6098440d85616d6ca4c608b8304
2 changes: 1 addition & 1 deletion trunk/drivers/tty/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ static void reset_buffer_flags(struct tty_struct *tty)
tty->canon_head = tty->canon_data = tty->erasing = 0;
memset(&tty->read_flags, 0, sizeof tty->read_flags);
n_tty_set_room(tty);
check_unthrottle(tty);
}

/**
Expand Down Expand Up @@ -1587,6 +1586,7 @@ static int n_tty_open(struct tty_struct *tty)
return -ENOMEM;
}
reset_buffer_flags(tty);
tty_unthrottle(tty);
tty->column = 0;
n_tty_set_termios(tty, NULL);
tty->minimum_to_wake = 1;
Expand Down

0 comments on commit 7c0ca47

Please sign in to comment.