patch-2.4.22 linux-2.4.22/drivers/usb/serial/usbserial.c

Next file: linux-2.4.22/drivers/usb/serial/visor.c
Previous file: linux-2.4.22/drivers/usb/serial/pl2303.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/usb/serial/usbserial.c linux-2.4.22/drivers/usb/serial/usbserial.c
@@ -556,6 +556,7 @@
 		else
 			generic_close(port, filp);
 		port->open_count = 0;
+		port->tty = NULL;
 	}
 
 	if (port->serial->type->owner)

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