diff options
author | Johan Hovold <[email protected]> | 2020-10-25 18:45:47 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2020-11-04 11:00:17 +0100 |
commit | 696c541c8c6cfa05d65aa24ae2b9e720fc01766e (patch) | |
tree | 398caa6edd145fa522a316de3b907102f4bc8d14 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3 (diff) |
USB: serial: keyspan_pda: fix dropped unthrottle interrupts
Commit c528fcb116e6 ("USB: serial: keyspan_pda: fix receive sanity
checks") broke write-unthrottle handling by dropping well-formed
unthrottle-interrupt packets which are precisely two bytes long. This
could lead to blocked writers not being woken up when buffer space again
becomes available.
Instead, stop unconditionally printing the third byte which is
(presumably) only valid on modem-line changes.
Fixes: c528fcb116e6 ("USB: serial: keyspan_pda: fix receive sanity checks")
Cc: stable <[email protected]> # 4.11
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions