Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ncm): Return invalid NTBs to free list
In case we received invalid datagram, we silently fail a the buffer was not returned to empty list -> it was lost. If this happened more than CFG_TUD_NCM_OUT_NTB_N times, we run out of NTBs and all OUT transfers are NACKed. Closes espressif/esp-usb#107
- Loading branch information