USB: ssu100: fix overrun-error reporting
authorJohan Hovold <johan@kernel.org>
Tue, 18 Nov 2014 10:25:21 +0000 (11:25 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 15:22:22 +0000 (16:22 +0100)
commit75bcbf29c284dd0154c3e895a0bd1ef0e796160e
tree32ad120212a3a610c1ac9ccb9a11b59ea9114931
parent855515a6d3731242d85850a206f2ec084c917338
USB: ssu100: fix overrun-error reporting

Fix reporting of overrun errors, which should only be reported once
using the inserted null character.

Fixes: 6b8f1ca5581b ("USB: ssu100: set tty_flags in ssu100_process_packet")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ssu100.c