diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2020-03-16 13:46:09 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-17 09:05:33 +0100 |
commit | 30ad5fdd34d9cfc9f16e73e0229c133d7317a42a (patch) | |
tree | eed8efab538474e0eda3ff5fc8ad2bdb046b26c4 /job.c | |
parent | 87db78f743668224ae9a5346229faed56ef7ff66 (diff) |
usb-serial: Increase receive buffer to 496
A FTDI USB adapter on an xHCI controller can send 512 byte USB packets.
These are 8 * ( 2 bytes header + 62 bytes data). A 384 byte receive
buffer is insufficient to fill a 512 byte packet, so bump the receive
size to 496 ( 512 - 2 * 8 ).
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-id: 20200316174610.115820-4-jandryuk@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'job.c')
0 files changed, 0 insertions, 0 deletions