This seems to allow the modem to work with -F even when not supporting it

This commit is contained in:
Pierre Pronchery 2010-05-07 12:54:53 +00:00
parent dd6f561357
commit 81ac501def

View File

@ -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;