The consequences of a wSequence mismatch are unspecified and are primarily for debugging purposes. Our checks are a bit too strict, and if the header check fails, the sequence is not updated, and the header check subsequently fails. Rework the code to just log a warning on mismatch and also reset OUT sequence counter the same way as the IN sequence counter. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| class | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usbd_ch9.c | ||
| usbd_ch9.h | ||
| usbd_class_api.h | ||
| usbd_class.c | ||
| usbd_class.h | ||
| usbd_config.c | ||
| usbd_config.h | ||
| usbd_core.c | ||
| usbd_data.ld | ||
| usbd_desc.c | ||
| usbd_desc.h | ||
| usbd_device.c | ||
| usbd_device.h | ||
| usbd_endpoint.c | ||
| usbd_endpoint.h | ||
| usbd_init.c | ||
| usbd_init.h | ||
| usbd_interface.c | ||
| usbd_interface.h | ||
| usbd_msg.c | ||
| usbd_msg.h | ||
| usbd_shell.c | ||