]> err.no Git - linux-2.6/blobdiff - drivers/scsi/scsi_sysfs.c
[SCSI] qla2xxx: Use msleep() as delay during ISP polling.
[linux-2.6] / drivers / scsi / scsi_sysfs.c
index 2cb962751a7ee76bbbe7f503a41a390cbc3004a6..a77b32deaf8fdb732d45371a0eacf2c73a28d672 100644 (file)
@@ -106,7 +106,10 @@ static int scsi_scan(struct Scsi_Host *shost, const char *str)
                return -EINVAL;
        if (check_set(&lun, s3))
                return -EINVAL;
-       res = scsi_scan_host_selected(shost, channel, id, lun, 1);
+       if (shost->transportt->user_scan)
+               res = shost->transportt->user_scan(shost, channel, id, lun);
+       else
+               res = scsi_scan_host_selected(shost, channel, id, lun, 1);
        return res;
 }