提交 c9222ec9 编写于 作者: U Uwe Bonnes 提交者: Greg Kroah-Hartman

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

Signed-off-by: NUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c75ccd48
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册