mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
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
912e44b663
commit
a42a7e2f13
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110021
@ -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