From: Roel Kluin Date: Sun, 17 Jan 2010 15:50:10 +0000 (+0100) Subject: Staging: serqt_usb2: Two branches the same in qt_set_termios() X-Git-Tag: MMI-PSA29.97-13-9~24618^2~1^2~171 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35f077dca73132dcac2cac1706417229a68f38c3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: serqt_usb2: Two branches the same in qt_set_termios() Regardless of the condition, the branches executed the same code Signed-off-by: Roel Kluin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 375a50580a28..44f2d4eaf84b 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -1277,7 +1277,7 @@ static void qt_set_termios(struct tty_struct *tty, if (cflag & CSTOPB) new_LCR |= SERIAL_TWO_STOPB; else - new_LCR |= SERIAL_TWO_STOPB; + new_LCR |= SERIAL_ONE_STOPB; dbg("%s - 4\n", __func__);