- if (xpcu->dev) {
- if (!xpcu->handle) {
- xpcu->handle = usb_open(xpcu->dev);
-#ifndef NO_USB_RESET
- if (xpcu->handle) {
- usb_reset(xpcu->handle);
- xpcu->handle = usb_open(xpcu->dev);
- }
-#endif
- }
-
- xpcu->interface = xpcu->dev->config[0].interface[usi->dwInterfaceNum].altsetting[usi->dwAlternateSetting].bInterfaceNumber;
- xpcu->alternate = usi->dwAlternateSetting;
- }