patch-2.4.20 linux-2.4.20/net/irda/ircomm/ircomm_tty_ioctl.c

Next file: linux-2.4.20/net/irda/iriap.c
Previous file: linux-2.4.20/net/irda/ircomm/ircomm_tty_attach.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/net/irda/ircomm/ircomm_tty_ioctl.c linux-2.4.20/net/irda/ircomm/ircomm_tty_ioctl.c
@@ -94,6 +94,9 @@
 	if (cflag & CRTSCTS) {
 		self->flags |= ASYNC_CTS_FLOW;
 		self->settings.flow_control |= IRCOMM_RTS_CTS_IN;
+		/* This got me. Bummer. Jean II */
+		if (self->service_type == IRCOMM_3_WIRE_RAW)
+			WARNING(__FUNCTION__ "(), enabling RTS/CTS on link that doesn't support it (3-wire-raw)\n");
 	} else {
 		self->flags &= ~ASYNC_CTS_FLOW;
 		self->settings.flow_control &= ~IRCOMM_RTS_CTS_IN;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)