]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: serqt_usb2: Two branches the same in qt_set_termios()
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 17 Jan 2010 15:50:10 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:48 +0000 (16:42 -0800)
Regardless of the condition, the branches executed the same code

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/serqt_usb2/serqt_usb2.c

index 375a50580a28bc34cf2910b0b7de0740ad5bc047..44f2d4eaf84b1705f2a077afd04b85aff540d715 100644 (file)
@@ -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__);