diff options
author | Johan Hovold <johan@kernel.org> | 2020-01-22 11:15:27 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-01-23 09:11:16 +0100 |
commit | 17a0184ca17e288decdca8b2841531e34d49285f (patch) | |
tree | 6961885e31ffd475a9f1f52bc8d387c4e4569d84 /tools | |
parent | 2988a8ae7476fe9535ab620320790d1714bdad1d (diff) | |
download | linux-17a0184ca17e288decdca8b2841531e34d49285f.tar.bz2 |
USB: serial: ir-usb: fix link-speed handling
Commit e0d795e4f36c ("usb: irda: cleanup on ir-usb module") added a USB
IrDA header with common defines, but mistakingly switched to using the
class-descriptor baud-rate bitmask values for the outbound header.
This broke link-speed handling for rates above 9600 baud, but a device
would also be able to operate at the default 9600 baud until a
link-speed request was issued (e.g. using the TCGETS ioctl).
Fixes: e0d795e4f36c ("usb: irda: cleanup on ir-usb module")
Cc: stable <stable@vger.kernel.org> # 2.6.27
Cc: Felipe Balbi <balbi@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions