projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53f219e
)
slattach: preserve speed in non-raw mode. +39 bytes.
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Sep 2008 21:27:59 +0000
(21:27 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Sep 2008 21:27:59 +0000
(21:27 -0000)
by Matthieu CASTET (matthieu.castet AT parrot.com)
networking/slattach.c
patch
|
blob
|
history
diff --git
a/networking/slattach.c
b/networking/slattach.c
index 52f7f3cffaa9ca632363cb62284425acbe6832de..d3212bb40d845b9f23c086256c4036a44f73320c 100644
(file)
--- 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) {