USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure

Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Uwe Bonnes 2011-10-10 17:24:16 +02:00 committed by Greg Kroah-Hartman
parent c75ccd4812
commit c9222ec92e

View file

@ -1984,6 +1984,7 @@ static int ftdi_process_packet(struct tty_struct *tty,
len -= 2;
if (!len)
return 0; /* status only */
priv->icount.rx += len;
ch = packet + 2;
if (port->port.console && port->sysrq) {