Commit 35823caa authored by Alan Stern's avatar Alan Stern Committed by Nitin Garg
Browse files

usb: misc: usbtest: format the data pattern according to max packet size



With this change, the host and gadget doesn't need to agree with transfer
length for comparing the data, since they doesn't know each other's
transfer size, but know max packet size.

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
(Fixed the 'line over 80 characters warning' by Peter Chen)
Tested-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent c572c226
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment