mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
xhci(4): Always add and evaluate the slot context.
Because the maximum number of endpoint contexts is stored there. Tested by: ehaupt@ PR: 262882 MFC after: 3 hours Sponsored by: NVIDIA Networking
This commit is contained in:
1 parent
e276d28150
commit
09dd1adfa4
1 file changed
+5
-1
@@ -3867,7 +3867,11 @@ xhci_configure_reset_endpoint(struct usb_xfer *xfer)
|
||||
}
|
||||
}
|
||||
|
||||
xhci_configure_mask(udev, mask, 0);
|
||||
/*
|
||||
* Always need to evaluate the slot context, because the maximum
|
||||
* number of endpoint contexts is stored there.
|
||||
*/
|
||||
xhci_configure_mask(udev, mask | 1U, 0);
|
||||
|
||||
if (!(sc->sc_hw.devs[index].ep_configured & mask)) {
|
||||
err = xhci_cmd_configure_ep(sc, buf_inp.physaddr, 0, index);
|
||||
|
||||
Reference in new issue
Block a user