Re: [Qemu-devel] [PATCH for 2.10 15/35] usb: correctly handle Zero Length Packets

2018-05-29 Thread Gerd Hoffmann
On Tue, May 29, 2018 at 11:22:46AM -0300, Philippe Mathieu-Daudé wrote: > On 07/24/2017 03:27 PM, Philippe Mathieu-Daudé wrote: > > USB Specification Revision 2.0, §5.5.3: > > The Data stage of a control transfer from an endpoint to the host is > > complete when the endpoint does one of the foll

Re: [Qemu-devel] [PATCH for 2.10 15/35] usb: correctly handle Zero Length Packets

2018-05-29 Thread Philippe Mathieu-Daudé
On 07/24/2017 03:27 PM, Philippe Mathieu-Daudé wrote: > USB Specification Revision 2.0, §5.5.3: > The Data stage of a control transfer from an endpoint to the host is > complete when the endpoint does one of the following: > • Has transferred exactly the amount of data specified during the Set

[Qemu-devel] [PATCH for 2.10 15/35] usb: correctly handle Zero Length Packets

2017-07-24 Thread Philippe Mathieu-Daudé
USB Specification Revision 2.0, §5.5.3: The Data stage of a control transfer from an endpoint to the host is complete when the endpoint does one of the following: • Has transferred exactly the amount of data specified during the Setup stage • Transfers a packet with a payload size less than