diff --git a/hardware/common/serial.c b/hardware/common/serial.c index 557022c9..fb5d0b6a 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -569,7 +569,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate, } term.c_iflag &= ~IGNPAR; - term.c_cflag &= ~(PARODD | PARENB); + term.c_cflag &= ~(PARENB | PARODD); switch (parity) { case SERIAL_PARITY_NONE: sr_spew("Configuring no parity.");