Skip to content

Commit

Permalink
USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure
Browse files Browse the repository at this point in the history
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Uwe Bonnes authored and Greg Kroah-Hartman committed Oct 18, 2011
1 parent c75ccd4 commit c9222ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9222ec

Please sign in to comment.