diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-19 21:03:01 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-09-19 21:03:01 +0000 |
commit | 2458f2bf83409079807ce4745e3b988ef942e31c (patch) | |
tree | 12cff5b0f99ba82b769de5ce5f2a4bb7269c9619 | |
parent | 14db1e171a4a730a62abead6e631d6aab1c8b091 (diff) | |
download | libgphoto2-2458f2bf83409079807ce4745e3b988ef942e31c.tar.gz |
usbscsi: Increase the timeout
This is necessary for some ax203 devices where the spi flashing is offloaded
to the firmware, and this can take (much) longer then our old timeout.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@14111 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | libgphoto2_port/usbscsi/linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2_port/usbscsi/linux.c b/libgphoto2_port/usbscsi/linux.c index f51710504..e0425075e 100644 --- a/libgphoto2_port/usbscsi/linux.c +++ b/libgphoto2_port/usbscsi/linux.c @@ -338,7 +338,7 @@ static int gp_port_usbscsi_send_scsi_cmd (GPPort *port, int to_dev, char *cmd, io_hdr.mx_sb_len = sense_size; io_hdr.dxferp = (unsigned char *)data; io_hdr.dxfer_len = data_size; - io_hdr.timeout = 500; + io_hdr.timeout = 1500; if (ioctl (port->pl->fd, SG_IO, &io_hdr) < 0) { |