Rather than updating IXON/IXOFF in termios, mraa_uart_set_flowcontrol was incorrectly issuing a stop or start character on mode changes. This lead to spurious transmission in setups that actually wanted to disable software flow control. And it prevented enabling it (which could have been checked also by reading back the state via mraa_uart_settings). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>