mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
ng_ubt: Do not clear stall before receiving of HCI command response.
Unconditional execution of "clear feature" request at SETUP stage was workaround for probe failures on ng_ubt.ko re-kldloading which is unnecessary now. Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D29775
This commit is contained in:
parent
91e562169c
commit
ad711fa497
1 changed files with 2 additions and 2 deletions
|
|
@ -825,8 +825,6 @@ ubt_probe_intr_callback(struct usb_xfer *xfer, usb_error_t error)
|
|||
|
||||
case USB_ST_SETUP:
|
||||
submit_next:
|
||||
/* Try clear stall first */
|
||||
usbd_xfer_set_stall(xfer);
|
||||
usbd_xfer_set_frame_len(xfer, 0, usbd_xfer_max_len(xfer));
|
||||
usbd_transfer_submit(xfer);
|
||||
break;
|
||||
|
|
@ -835,6 +833,8 @@ submit_next:
|
|||
if (error != USB_ERR_CANCELLED) {
|
||||
printf("ng_ubt: interrupt transfer failed: %s\n",
|
||||
usbd_errstr(error));
|
||||
/* Try clear stall first */
|
||||
usbd_xfer_set_stall(xfer);
|
||||
goto submit_next;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue