diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-08-20 17:45:54 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-08-20 17:45:54 +0000 |
commit | 6cf060eba435bd96a3f9b464ada076cfffbf092c (patch) | |
tree | 25c2318e6b157592a1a3f37fbb35755f76a744c4 | |
parent | 209d3fb41fe5a22a23eda209a3e65fed946c8b74 (diff) |
Notes
-rw-r--r-- | sys/dev/usb/controller/xhci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index 432c419c1f82..1656e622d70f 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -3904,10 +3904,8 @@ xhci_configure_reset_endpoint(struct usb_xfer *xfer) if (!(sc->sc_hw.devs[index].ep_configured & mask)) { sc->sc_hw.devs[index].ep_configured |= mask; err = xhci_cmd_configure_ep(sc, buf_inp.physaddr, 0, index); - } else if (epno != 1) { - err = xhci_cmd_evaluate_ctx(sc, buf_inp.physaddr, index); } else { - err = 0; + err = xhci_cmd_evaluate_ctx(sc, buf_inp.physaddr, index); } if (err != 0) { |