aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/slattach.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/slattach.c b/networking/slattach.c
index 52f7f3cff..d3212bb40 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -206,6 +206,8 @@ int slattach_main(int argc UNUSED_PARAM, char **argv)
state.c_cflag = CS8 | HUPCL | CREAD
| ((opt & OPT_L_local) ? CLOCAL : 0)
| ((opt & OPT_F_noflow) ? 0 : CRTSCTS);
+ cfsetispeed(&state, cfgetispeed(&saved_state));
+ cfsetospeed(&state, cfgetospeed(&saved_state));
}
if (opt & OPT_s_baud) {