git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mwl8k: no need to hold ->tx_lock while setting the hardware interrupt mask
[pandora-kernel.git]
/
drivers
/
char
/
n_tty.c
diff --git
a/drivers/char/n_tty.c
b/drivers/char/n_tty.c
index
ff47907
..
973be2f
100644
(file)
--- a/
drivers/char/n_tty.c
+++ b/
drivers/char/n_tty.c
@@
-1583,6
+1583,7
@@
static int n_tty_open(struct tty_struct *tty)
static inline int input_available_p(struct tty_struct *tty, int amt)
{
+ tty_flush_to_ldisc(tty);
if (tty->icanon) {
if (tty->canon_data)
return 1;