On 24.07.23 16:29, Alan Stern wrote:
How can it? bDescriptorType is at the start of the device descriptor, whereas bMaxPacketSize0 is more towards the end. If the later part get transferred from the device, the earlier part must have been transferred as well. Even if the transfer was short.
Do we really guarantee that in an error case the buffer is filled from front to back? Regards Oliver