fixing bug in rs232_linux.cpp