Reset clear-stall error counter before setting up the USB control transfers.
MFC after: 14 days
This commit is contained in:
parent
1417604e70
commit
2906af23b8
@ -2927,6 +2927,11 @@ repeat:
|
||||
*/
|
||||
usbd_transfer_unsetup(udev->ctrl_xfer, USB_CTRL_XFER_MAX);
|
||||
|
||||
/*
|
||||
* Reset clear stall error counter.
|
||||
*/
|
||||
udev->clear_stall_errors = 0;
|
||||
|
||||
/*
|
||||
* Try to setup a new USB transfer for the
|
||||
* default control endpoint:
|
||||
|
Loading…
x
Reference in New Issue
Block a user