Commit c9222ec9 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c75ccd48
...@@ -1984,6 +1984,7 @@ static int ftdi_process_packet(struct tty_struct *tty, ...@@ -1984,6 +1984,7 @@ static int ftdi_process_packet(struct tty_struct *tty,
len -= 2; len -= 2;
if (!len) if (!len)
return 0; /* status only */ return 0; /* status only */
priv->icount.rx += len;
ch = packet + 2; ch = packet + 2;
if (port->port.console && port->sysrq) { if (port->port.console && port->sysrq) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment