The config->xon_xoff variable is not filled correctly with data read
from the current serial port config. Without this, the value of the
variable will be bogus and some code that depends on the variable will fail.
Note: This is just a temporary quickfix, not a proper final solution.
config->dtr = (data->controlbits & TIOCM_DTR) ? SP_DTR_ON : SP_DTR_OFF;
config->dsr = SP_DSR_IGNORE;
+
+ /* FIXME: Set config->xon_xoff properly, depending on data->term. */
+ config->xon_xoff = SP_XONXOFF_DISABLED;
#endif
return SP_OK;