During DFU_UPLOAD, the host could requests more data as stated in wTransferSize. Limit upload length to the size of the request buffer (USB_REQUEST_BUFFER_SIZE). Signed-off-by: Johann Fischer <j.fischer@phytec.de> |
||
|---|---|---|
| .. | ||
| class | ||
| bos.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| os_desc.c | ||
| os_desc.h | ||
| usb_descriptor.c | ||
| usb_descriptor.h | ||
| usb_device.c | ||
| usb_transfer.c | ||
| usb_transfer.h | ||