--- drivers/char/isicom.c.old Fri Jun 4 23:52:41 1999 +++ drivers/char/isicom.c Sat Jun 12 21:05:28 1999 @@ -1052,15 +1052,19 @@ if ((error = block_til_ready(tty, filp, port))!=0) return error; - if ((port->count == 1) && (port->flags & ASYNC_SPLIT_TERMIOS)) { - if (tty->driver.subtype == SERIAL_TYPE_NORMAL) - *tty->termios = port->normal_termios; - else - *tty->termios = port->callout_termios; + if (port->count == 1) + { + if(port->flags & ASYNC_SPLIT_TERMIOS) + { + if (tty->driver.subtype == SERIAL_TYPE_NORMAL) + *tty->termios = port->normal_termios; + else + *tty->termios = port->callout_termios; + } save_flags(flags); cli(); isicom_config_port(port); restore_flags(flags); - } + } port->session = current->session; port->pgrp = current->pgrp;