diff options
Diffstat (limited to 'cpukit/libcsupport/src/termios_setinitialbaud.c')
-rw-r--r-- | cpukit/libcsupport/src/termios_setinitialbaud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/termios_setinitialbaud.c b/cpukit/libcsupport/src/termios_setinitialbaud.c index 4d7ec558fe..b8ce26c392 100644 --- a/cpukit/libcsupport/src/termios_setinitialbaud.c +++ b/cpukit/libcsupport/src/termios_setinitialbaud.c @@ -23,7 +23,7 @@ int rtems_termios_set_initial_baud( int rv = 0; tcflag_t c_cflag_baud = rtems_termios_number_to_baud(baud); - if ( c_cflag_baud == 0 ) { + if ( c_cflag_baud != 0 ) { tcflag_t cbaud = CBAUD; tty->termios.c_cflag = (tty->termios.c_cflag & ~cbaud) | c_cflag_baud; |