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 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig usb: make number of usb_write retries configurable 2019-09-08 22:06:48 -04:00
os_desc.c logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
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: Fix automatic assignment endpoints 2019-05-06 11:14:24 +02:00
usb_device.c usb: fix ZLP handling for Variable-length Data Stage 2019-09-08 22:06:48 -04:00