diff options
author | Stephane Grosjean <s.grosjean@peak-system.com> | 2018-01-15 16:31:19 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-01-16 15:33:15 +0100 |
commit | d8a243af1a68395e07ac85384a2740d4134c67f4 (patch) | |
tree | d454f1388e00653301eb510d1dbef485a48f6df0 /lib/raid6/mmx.c | |
parent | 6311b7ce42e0c1d6d944bc099dc47e936c20cf11 (diff) |
can: peak: fix potential bug in packet fragmentation
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>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/raid6/mmx.c')
0 files changed, 0 insertions, 0 deletions