28 lines
874 B
Diff
28 lines
874 B
Diff
From 9368d95b18ba8f3c13ac4c42eb4ea1d98b107231 Mon Sep 17 00:00:00 2001
|
|
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Date: Mon, 17 Mar 2014 09:38:45 +1000
|
|
Subject: [PATCH 07/14] tools: drop double-call to tcsetattr
|
|
|
|
We merely modify the flags, might as well just send one call
|
|
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
---
|
|
tools/isdv4-serial-debugger.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/tools/isdv4-serial-debugger.c b/tools/isdv4-serial-debugger.c
|
|
index 778b500..e89623a 100644
|
|
--- a/tools/isdv4-serial-debugger.c
|
|
+++ b/tools/isdv4-serial-debugger.c
|
|
@@ -104,7 +104,6 @@ int set_serial_attr(int fd, unsigned int baud)
|
|
t.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
|
|
t.c_cflag &= ~(CSIZE|PARENB);
|
|
t.c_cflag |= CS8|CLOCAL;
|
|
- tcsetattr(fd, TCSANOW, &t);
|
|
|
|
/* wacom-specific */
|
|
t.c_cflag &= ~(CSTOPB); /* stopbits 1 */
|
|
--
|
|
1.8.5.3
|
|
|