aboutsummaryrefslogtreecommitdiffstats
diff options
-rw-r--r--tty/tty-serial-fix-tty-back-references-in-termios.patch4
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)) {