Signed-off-by: Miguel Angel Alvarez <[EMAIL PROTECTED]>
---
diff -ur linux-2.6.18.4_no_patched/drivers/usb/serial/option.c
linux-2.6.18.4_patched/drivers/usb/serial/option.c
--- linux-2.6.18.4_no_patched/drivers/usb/serial/option.c
2006-12-13 10:45:16.000000000 +0100
+++ linux-2.6.18.4_patched/drivers/usb/serial/option.c 2006-12-14
17:03:02.000000000 +0100
@@ -622,6 +622,10 @@
dbg("%s", __FUNCTION__);
+ if(port->number != 0) {
+ return 0;
+ }
+
portdata = usb_get_serial_port_data(port);
if (port->tty) {
---
Just the serial port in the first interface should control DTR and RTS
lines. This way the closing of the rest of the ports does not produce a
hangup in the communication.
----------------------------------------- PLEASE NOTE
-------------------------------------------
This message, along with any attachments, may be confidential or legally
privileged.
It is intended only for the named person(s), who is/are the only authorized
recipients.
If this message has reached you in error, kindly destroy it without review and
notify the sender immediately.
Thank you for your help.
ZIV uses virus scanning software but excludes any liability for viruses
contained in any attachment.
------------------------------------ ROGAMOS LEA ESTE TEXTO
-------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con
derecho legal.
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único
destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo
ni reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su
colaboración.
ZIV utiliza software antivirus, pero no se hace responsable de los virus
contenidos en los ficheros anexos.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel