summaryrefslogtreecommitdiff
path: root/libgphoto2_port/vusb/vusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/vusb/vusb.c')
-rw-r--r--libgphoto2_port/vusb/vusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/vusb/vusb.c b/libgphoto2_port/vusb/vusb.c
index b810910bf..87e8c541c 100644
--- a/libgphoto2_port/vusb/vusb.c
+++ b/libgphoto2_port/vusb/vusb.c
@@ -223,8 +223,8 @@ static int
gp_port_vusb_msg_interface_read_lib(GPPort *port, int request,
int value, int index, char *bytes, int size)
{
- gp_log(GP_LOG_DEBUG,__FUNCTION__,"()");
- return GP_OK; /* or bytes */
+ gp_log(GP_LOG_DEBUG,__FUNCTION__,"(req=%x, value=%x, index=%d, size=%d)", request, value, index, size);
+ return port->pl->vcamera->read(port->pl->vcamera, 0x81, (unsigned char*)bytes, size);
}