mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Reference in a new issue