diff options
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | 2011-10-10 11:24:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-18 16:46:29 -0400 |
commit | c9222ec92e6ac60a4624234b61cf848c237e8e0e (patch) | |
tree | 76e5713c840be1e87b1de29100c89b1bcfd4e28d | |
parent | c75ccd481258d923216337955930ea49ea1a9a1a (diff) |
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>
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
1984 | len -= 2; | 1984 | len -= 2; |
1985 | if (!len) | 1985 | if (!len) |
1986 | return 0; /* status only */ | 1986 | return 0; /* status only */ |
1987 | priv->icount.rx += len; | ||
1987 | ch = packet + 2; | 1988 | ch = packet + 2; |
1988 | 1989 | ||
1989 | if (port->port.console && port->sysrq) { | 1990 | if (port->port.console && port->sysrq) { |