* usb/libusb.c: Remember we did the altsetting after we did change it.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4305 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2002-03-21 17:52:06 +00:00
parent 1fc58274e9
commit 4e1fce3db4
2 changed files with 2 additions and 0 deletions

View File

@@ -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 <marcus@jet.franken.de>

View File

@@ -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;