diff options
author | attilio <attilio@FreeBSD.org> | 2011-06-06 22:06:42 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-06-06 22:06:42 +0000 |
commit | fa5ff41200519da6b30c30e3ba5e8dcdf171923e (patch) | |
tree | d84bf91ebf378cf782b827e66c70c671d5a4c606 /sys/dev/usb/usb_transfer.c | |
parent | fcefe479fe42ec2ebc4b56d9161b88a659dfb40b (diff) | |
download | FreeBSD-src-fa5ff41200519da6b30c30e3ba5e8dcdf171923e.zip FreeBSD-src-fa5ff41200519da6b30c30e3ba5e8dcdf171923e.tar.gz |
MFC
Diffstat (limited to 'sys/dev/usb/usb_transfer.c')
-rw-r--r-- | sys/dev/usb/usb_transfer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index 5fd4f5a..d4c2408 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -2928,6 +2928,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: */ |