USB spec stats that short packet can only appear at the end
of transfer. Because lost of HC(EHCI/UHCI/OHCI/...) can't
build a full packet from discontinuous buffers, we introduce
the limit in usb_submit_urb() to avoid such kind of bad sg
coming from driver.
The limit might be a bit strict:
On Wed, 26 Jun 2013, Ming Lei wrote:
USB spec stats that short packet can only appear at the end
of transfer. Because lost of HC(EHCI/UHCI/OHCI/...) can't
build a full packet from discontinuous buffers, we introduce
the limit in usb_submit_urb() to avoid such kind of bad sg
coming from
On Wed, Jun 26, 2013 at 10:30 AM, Thomas Pugliese
thomas.pugli...@gmail.com wrote:
Hi Ming,
If the target device is wireless, this check should not be necessary.
Both types of WUSB host controllers (HWA and WHCI) support building a
packet from a buffer that crosses SG boundaries.
Thomas,