* [PATCH] serqt_usb2: Two branches the same in qt_set_termios()
@ 2010-01-17 15:50 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-01-17 15:50 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, Andrew Morton, LKML, Bill Pemberton
Regardless of the condition, the branches executed the same code
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Is this right?
diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c
index 060e9de..5401169 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__);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-17 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 15:50 [PATCH] serqt_usb2: Two branches the same in qt_set_termios() Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox