]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/usb/hso.c
Merge tag 'tty-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[karo-tx-linux.git] / drivers / net / usb / hso.c
index a73090f4c688ecd9c96d136f41f885d9c0e1331a..2d2a6882ba337dc79194319bb58c531f8c76d4d8 100644 (file)
@@ -1632,7 +1632,7 @@ static int hso_get_count(struct tty_struct *tty,
        struct hso_serial *serial = get_serial_by_tty(tty);
        struct hso_tiocmget  *tiocmget = serial->tiocmget;
 
-       memset(&icount, 0, sizeof(struct serial_icounter_struct));
+       memset(icount, 0, sizeof(struct serial_icounter_struct));
 
        if (!tiocmget)
                 return -ENOENT;