94a99f02ed
usbhidd already accumulated prior interfaces' endpoint counts (global enumeration index, matching xhcid's PortState::get_endp_desc), but the counter was never reset between candidate configurations — a HID device whose usable config is not the first would get endpoint numbers offset by the first config's endpoints. xhcid indexes within the selected configuration only, so reset per config.