• J
    USB: keyspan: fix tty line-status reporting · 5d1678a3
    Johan Hovold 提交于
    Fix handling of TTY error flags, which are not bitmasks and must
    specifically not be ORed together as this prevents the line discipline
    from recognising them.
    
    Also insert null characters when reporting overrun errors as these are
    not associated with the received character.
    
    Fixes: 1da177e4 ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: NJohan Hovold <johan@kernel.org>
    5d1678a3
keyspan.c 65.4 KB