/* qt2_boxsethw_flowctl - Turn hardware (RTS/CTS) flow control on and off for a hardware UART.  */
static int qt2_boxsethw_flowctl(struct usb_serial *serial, unsigned int UartNumber, bool bSet)
/* qt2_boxsethw_flowctl - Turn hardware (RTS/CTS) flow control on and off for a hardware UART.  */
static int qt2_boxsethw_flowctl(struct usb_serial *serial, unsigned int UartNumber, bool bSet)
{
	__u8 MCR_Value = 0;
	__u8 MSR_Value = 0;
	__u16 MOUT_Value = 0;
	if (bSet == true) {
		MCR_Value =  QT2_SERIAL_MCR_RTS;
	} else {
		MCR_Value =  0;
	}
	MOUT_Value = MCR_Value << 8;
	if (bSet == true) {
		MSR_Value = QT2_SERIAL_MSR_CTS;
	} else {
		MSR_Value = 0;
	}
	MOUT_Value |= MSR_Value;
	return usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0),
			QT2_HW_FLOW_CONTROL_MASK, 0x40, MOUT_Value, UartNumber,
			NULL, 0, 300);
}