summaryrefslogtreecommitdiffstats
path: root/drivers/tty/mxser.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/mxser.c')
-rw-r--r--drivers/tty/mxser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c
index f23c2a101688..8f3fdad37ac7 100644
--- a/drivers/tty/mxser.c
+++ b/drivers/tty/mxser.c
@@ -711,8 +711,8 @@ static int mxser_change_speed(struct tty_struct *tty,
711 /* CTS flow control flag and modem status interrupts */ 711 /* CTS flow control flag and modem status interrupts */
712 info->IER &= ~UART_IER_MSI; 712 info->IER &= ~UART_IER_MSI;
713 info->MCR &= ~UART_MCR_AFE; 713 info->MCR &= ~UART_MCR_AFE;
714 tty_port_set_cts_flow(&info->port, cflag & CRTSCTS);
714 if (cflag & CRTSCTS) { 715 if (cflag & CRTSCTS) {
715 info->port.flags |= ASYNC_CTS_FLOW;
716 info->IER |= UART_IER_MSI; 716 info->IER |= UART_IER_MSI;
717 if ((info->type == PORT_16550A) || (info->board->chip_flag)) { 717 if ((info->type == PORT_16550A) || (info->board->chip_flag)) {
718 info->MCR |= UART_MCR_AFE; 718 info->MCR |= UART_MCR_AFE;
@@ -744,8 +744,6 @@ static int mxser_change_speed(struct tty_struct *tty,
744 } 744 }
745 } 745 }
746 } 746 }
747 } else {
748 info->port.flags &= ~ASYNC_CTS_FLOW;
749 } 747 }
750 outb(info->MCR, info->ioaddr + UART_MCR); 748 outb(info->MCR, info->ioaddr + UART_MCR);
751 if (cflag & CLOCAL) { 749 if (cflag & CLOCAL) {