patch-2.4.26 linux-2.4.26/drivers/usb/serial/io_edgeport.c

Next file: linux-2.4.26/drivers/usb/serial/pl2303.c
Previous file: linux-2.4.26/drivers/usb/serial/ftdi_sio.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/drivers/usb/serial/io_edgeport.c linux-2.4.26/drivers/usb/serial/io_edgeport.c
@@ -1760,7 +1760,7 @@
 			if (arg & TIOCM_RTS)
 				mcr |= MCR_RTS;
 			if (arg & TIOCM_DTR)
-				mcr |= MCR_RTS;
+				mcr |= MCR_DTR;
 			if (arg & TIOCM_LOOP)
 				mcr |= MCR_LOOPBACK;
 			break;
@@ -1769,7 +1769,7 @@
 			if (arg & TIOCM_RTS)
 				mcr &= ~MCR_RTS;
 			if (arg & TIOCM_DTR)
-				mcr &= ~MCR_RTS;
+				mcr &= ~MCR_DTR;
 			if (arg & TIOCM_LOOP)
 				mcr &= ~MCR_LOOPBACK;
 			break;

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