public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d975c69
)
tty: fix the masking logic
author
Alan Cox
<alan@linux.intel.com>
Wed, 3 Oct 2018 12:27:02 +0000
(13:27 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 3 Oct 2018 12:27:02 +0000
(13:27 +0100)
With this we appear to run ok
Kernel/tty.c
patch
|
blob
|
history
diff --git
a/Kernel/tty.c
b/Kernel/tty.c
index
ad06408
..
ec8e27d
100644
(file)
--- a/
Kernel/tty.c
+++ b/
Kernel/tty.c
@@
-295,10
+295,10
@@
int tty_ioctl(uint8_t minor, uarg_t request, char *data)
t->termios.c_oflag |= tm.c_oflag;
t->termios.c_cflag &= ~*dp;
tm.c_cflag &= *dp++;
- t->termios.c_cflag |= tm.c_
l
flag;
+ t->termios.c_cflag |= tm.c_
c
flag;
t->termios.c_lflag &= ~*dp;
tm.c_lflag &= *dp;
- t->termios.c_
i
flag |= tm.c_lflag;
+ t->termios.c_
l
flag |= tm.c_lflag;
tty_setup(minor, waito);
tty_selwake(minor, SELECT_IN|SELECT_OUT);
break;