[PATCH 6/7] Do not restore termios on port close
tomas.jura1 at gmail.com
tomas.jura1 at gmail.com
Tue Feb 2 14:30:24 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 fc5d59e..5b04bcd 100644
--- a/src/mm-port-serial.c
+++ b/src/mm-port-serial.c
@@ -1349,7 +1349,6 @@ _close_internal (MMPortSerial *self, gboolean force)
}
}
- tcsetattr (self->priv->fd, TCSANOW, &self->priv->old_t);
tcflush (self->priv->fd, TCIOFLUSH);
}
--
2.7.0
More information about the ModemManager-devel
mailing list