USB: keyspan: fix overrun-error reporting

commit 855515a6d3 upstream.

Fix reporting of overrun errors, which are not associated with a
character. Instead insert a null character and report only once.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Johan Hovold 2014-11-18 11:25:20 +01:00 • committed by Luis Henriques
commit beb441b45b