Set the termios speed based on the tty speed. This allows consoles to work at
speeds other than TTYDEF_SPEED. Approved by: jake
This commit is contained in:
parent
32565cb2b4
commit
74832facd0
@ -487,7 +487,7 @@ zsttyopen(dev_t dev, int flags, int mode, struct thread *td)
|
||||
* sticky bits from TIOCSFLAGS.
|
||||
*/
|
||||
t.c_ispeed = 0;
|
||||
t.c_ospeed = TTYDEF_SPEED;
|
||||
t.c_ospeed = tp->t_ospeed;
|
||||
t.c_cflag = TTYDEF_CFLAG;
|
||||
/* Make sure zstty_param() will do something. */
|
||||
tp->t_ospeed = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user