diff --git a/libgphoto2_port/ChangeLog b/libgphoto2_port/ChangeLog index 5b8159c8e..517099127 100644 --- a/libgphoto2_port/ChangeLog +++ b/libgphoto2_port/ChangeLog @@ -4,6 +4,7 @@ Also look for intep in class based matching. Dump intep in debugoutput. interrupt endpoints are *input* endpoints, not output. + Remember we did the altsetting after we did change it. 2002-03-19 Marcus Meissner diff --git a/libgphoto2_port/usb/libusb.c b/libgphoto2_port/usb/libusb.c index 31fbc6753..f8b157bb5 100644 --- a/libgphoto2_port/usb/libusb.c +++ b/libgphoto2_port/usb/libusb.c @@ -324,6 +324,7 @@ gp_port_usb_update (GPPort *port) "Changed usb.altsetting from %d to %d", port->pl->altsetting, port->settings.usb.altsetting); + port->pl->altsetting = port->settings.usb.altsetting; } return GP_OK;