sanei_scsi.c: fixed SCSI command timeout... Has been set to 100 minutes

instead of 10.
DEVEL_2_0_BRANCH-1
Abel Deuring 2001-01-10 21:00:53 +00:00
rodzic 3da13374b6
commit 56664981bf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1913,7 +1913,7 @@ sanei_scsi_req_enter2 (int fd,
(const void*) req->sgdata.sg3.hdr.cmdp = cmd;
req->sgdata.sg3.hdr.sbp = &(req->sgdata.sg3.sense_buffer[0]);
/* 10 minutes should be ok even for slow scanners */
req->sgdata.sg3.hdr.timeout = 10000 * 600;
req->sgdata.sg3.hdr.timeout = 1000 * 60 * 10;
req->sgdata.sg3.hdr.flags = SG_FLAG_DIRECT_IO;
req->sgdata.sg3.hdr.pack_id = pack_id++;
req->sgdata.sg3.hdr.usr_ptr = 0;