Updated to 2.6.32.27
/drivers/usb/serial/mos7720.c
blob:763e32a44be02eb790c0c7f66ed25e0bae947f19 -> blob:f3a73e7b948ce4c1809993a1fa32233b12c1228d
--- drivers/usb/serial/mos7720.c
+++ drivers/usb/serial/mos7720.c
@@ -1466,6 +1466,9 @@ static int mos7720_ioctl(struct tty_stru
case TIOCGICOUNT:
cnow = mos7720_port->icount;
+
+ memset(&icount, 0, sizeof(struct serial_icounter_struct));
+
icount.cts = cnow.cts;
icount.dsr = cnow.dsr;
icount.rng = cnow.rng;