From 81ac501defe0992601eaa31e482240eaa68a1f0e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 7 May 2010 12:54:53 +0000 Subject: [PATCH] This seems to allow the modem to work with -F even when not supporting it --- src/gsm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gsm.c b/src/gsm.c index 13df675..94b9535 100644 --- a/src/gsm.c +++ b/src/gsm.c @@ -1938,10 +1938,9 @@ static int _reset_do(int fd, unsigned int baudrate, unsigned int hwflow) return 1; term.c_cflag |= CS8; term.c_cflag |= CREAD; + term.c_cflag |= CLOCAL; if(hwflow) term.c_cflag |= CRTSCTS; - else - term.c_cflag |= CLOCAL; term.c_iflag = (IGNPAR | IGNBRK); term.c_lflag = 0; term.c_oflag = 0;