[PATCH 5/7] remove duplicated ECHO & ECHOE
tomas.jura1 at gmail.com
tomas.jura1 at gmail.com
Tue Feb 2 14:30:23 UTC 2016
From: Tomas Jura <tomas_jura1 at gmail.com>
---
src/mm-port-serial.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c
index 92ad481..fc5d59e 100644
--- a/src/mm-port-serial.c
+++ b/src/mm-port-serial.c
@@ -456,7 +456,6 @@ real_config_fd (MMPortSerial *self, int fd, GError **error)
stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY );
stbuf.c_oflag &= ~(OPOST | OLCUC | OCRNL | ONLCR | ONLRET);
stbuf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL);
- stbuf.c_lflag &= ~(ECHO | ECHOE);
stbuf.c_cc[VMIN] = 1;
stbuf.c_cc[VTIME] = 0;
stbuf.c_cc[VEOF] = 1;
--
2.7.0
More information about the ModemManager-devel
mailing list