[SCSI] Allow error handling timeout to be specified
[cascardo/linux.git] / drivers / scsi / scsi_scan.c
index 3e58b22..852915a 100644 (file)
@@ -924,6 +924,8 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
        if (*bflags & BLIST_NO_DIF)
                sdev->no_dif = 1;
 
+       sdev->eh_timeout = SCSI_DEFAULT_EH_TIMEOUT;
+
        transport_configure_device(&sdev->sdev_gendev);
 
        if (sdev->host->hostt->slave_configure) {