diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-17 13:20:42 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-17 13:20:42 -0700 |
| commit | 1591b7ae35497543aca789628d9d418a14f6d9ff (patch) | |
| tree | 016cecb37e89efa060fc897f366c356f9a96cfb1 | |
| parent | e08a8b84f590f4cc576d4dc0c2fed6b555caea0a (diff) | |
| download | patches-1591b7ae35497543aca789628d9d418a14f6d9ff.tar.gz | |
fix a tty patch as pointed out by Tony Luck.
| -rw-r--r-- | tty/tty-serial-fix-tty-back-references-in-termios.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tty/tty-serial-fix-tty-back-references-in-termios.patch b/tty/tty-serial-fix-tty-back-references-in-termios.patch index 5838fa4959296b..5ad533a34502ff 100644 --- a/tty/tty-serial-fix-tty-back-references-in-termios.patch +++ b/tty/tty-serial-fix-tty-back-references-in-termios.patch @@ -95,7 +95,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> state->port.tty->low_latency = 1; - if (I_IGNPAR(state->port.tty)) -+ if (iflag & IGNPAR)) ++ if (iflag & IGNPAR) the_port->ignore_status_mask &= ~(N_PARITY_ERROR | N_FRAMING_ERROR); - if (I_IGNBRK(state->port.tty)) { @@ -134,7 +134,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + if (iflag & IGNBRK) { the_port->ignore_status_mask &= ~N_BREAK; - if (I_IGNPAR(state->port.tty)) -+ if (iflag & IGNPAR)) ++ if (iflag & IGNPAR) the_port->ignore_status_mask &= ~N_OVERRUN_ERROR; } if (!(cflag & CREAD)) { |
