svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Tue Sep 16 21:27:59 UTC 2008


Author: vda
Date: 2008-09-16 14:27:59 -0700 (Tue, 16 Sep 2008)
New Revision: 23413

Log:
slattach: preserve speed in non-raw mode. +39 bytes.
 by Matthieu CASTET (matthieu.castet AT parrot.com)



Modified:
   trunk/busybox/networking/slattach.c


Changeset:
Modified: trunk/busybox/networking/slattach.c
===================================================================
--- trunk/busybox/networking/slattach.c	2008-09-16 20:57:17 UTC (rev 23412)
+++ trunk/busybox/networking/slattach.c	2008-09-16 21:27:59 UTC (rev 23413)
@@ -206,6 +206,8 @@
 		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) {




More information about the busybox-cvs mailing list