Larsson Roger (by way of Roger Larsson ) wrote:
"14 Bit stuffing right before the EOP (USB)
...

Workaround;
If the size of the data transfers are known, set the buffer length to
the exact number of bytes to be received."

That is, "drivers should do what they already do".


And it won't work for the common case of drivers
accepting short reads.  For example, a network
link uses a buffer big enough for a full frame of
Ethernet data, but most packets are shorter.

- Dave




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to