diff --git a/sys/i386/ibcs2/ibcs2_ioctl.c b/sys/i386/ibcs2/ibcs2_ioctl.c index 42190d2374eb..4dfa80bdd12d 100644 --- a/sys/i386/ibcs2/ibcs2_ioctl.c +++ b/sys/i386/ibcs2/ibcs2_ioctl.c @@ -169,6 +169,8 @@ stios2btios(st, bt) if (l & IBCS2_CLOCAL) r |= CLOCAL; bt->c_cflag = r; + bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; + l = st->c_lflag; r = 0; if (l & IBCS2_ISIG) r |= ISIG; if (l & IBCS2_ICANON) r |= ICANON; @@ -180,8 +182,6 @@ stios2btios(st, bt) if (l & IBCS2_TOSTOP) r |= TOSTOP; bt->c_lflag = r; - bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; - bt->c_cc[VINTR] = st->c_cc[IBCS2_VINTR] ? st->c_cc[IBCS2_VINTR] : _POSIX_VDISABLE; bt->c_cc[VQUIT] =