patch-2.4.8 linux/net/irda/ircomm/ircomm_tty_attach.c

Next file: linux/net/netsyms.c
Previous file: linux/net/irda/ircomm/ircomm_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/net/irda/ircomm/ircomm_tty_attach.c linux/net/irda/ircomm/ircomm_tty_attach.c
@@ -505,7 +505,7 @@
 	 * will have to wait for the peer device (DCE) to raise the CTS
 	 * line.  
 	 */
-	if (self->flags & ASYNC_CTS_FLOW) {
+	if ((self->flags & ASYNC_CTS_FLOW) && ((self->settings.dce & IRCOMM_CTS) == 0)) {
 		IRDA_DEBUG(0, __FUNCTION__ "(), waiting for CTS ...\n");
 		return;
 	} else {

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