Commit 09dd1adf authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

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
parent e276d281
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment