zephyr/subsys/usb
Johann Fischer 60c4882bad usb: fix ZLP handling for Variable-length Data Stage
ZLP flag should only be set if less data is sent
than requested by host and the length is a multiple
of wMaxPacketSize. Current implementation does not
check it correctly.

For some platforms like nRF52, this patch will not
be enough to fix the problem. The driver must be informed
about the transfer type before sending the last packet,
without changing the API, it is not possible.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-09-08 22:06:48 -04:00
..
class usb: cdc_acm: Fix compiler warning 2019-09-07 10:19:27 -04:00
bos.c
CMakeLists.txt
Kconfig usb: make number of usb_write retries configurable 2019-09-08 22:06:48 -04:00
os_desc.c
os_desc.h
usb_descriptor.c usb: usb_descriptor: fix null pointer dereferences 2019-08-22 07:26:33 -05:00
usb_descriptor.h
usb_device.c usb: fix ZLP handling for Variable-length Data Stage 2019-09-08 22:06:48 -04:00