diff options
author | Stephane Grosjean <s.grosjean@peak-system.com> | 2018-01-15 16:31:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-23 19:57:08 +0100 |
commit | 23d68eddd857d9bbc68ebd8d22255999c155823a (patch) | |
tree | a219eaabe8bcbb8bb3c4359e2db17407b72a32bd /scripts/package/buildtar | |
parent | 19f47eafe10c2ced548c381970e2cf7b3db77ba7 (diff) |
can: peak: fix potential bug in packet fragmentation
commit d8a243af1a68395e07ac85384a2740d4134c67f4 upstream.
In some rare conditions when running one PEAK USB-FD interface over
a non high-speed USB controller, one useless USB fragment might be sent.
This patch fixes the way a USB command is fragmented when its length is
greater than 64 bytes and when the underlying USB controller is not a
high-speed one.
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/package/buildtar')
0 files changed, 0 insertions, 0 deletions