From: Uwe Bonnes Date: Mon, 10 Oct 2011 15:24:16 +0000 (+0200) Subject: USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure X-Git-Tag: next-20111025~10^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c9222ec92e6ac60a4624234b61cf848c237e8e0e;p=karo-tx-linux.git USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure Signed-off-by: Uwe Bonnes Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 4cfc4cd4aae3..cb0ecd5b2e4b 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -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) {