Commit c2199d75 authored by Maximilian Attems's avatar Maximilian Attems Committed by Dave Jones

[PATCH] scsi/qla_init: replace schedule_timeout() with

Replaces schedule_timeout() with msleep() to guarantee task
delays as desired.
Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 228800db
......@@ -967,8 +967,7 @@ qla2x00_fw_ready(scsi_qla_host_t *ha)
break;
/* Delay for a while */
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(HZ / 2);
msleep(500);
DEBUG3(printk("scsi(%ld): fw_state=%x curr time=%lx.\n",
ha->host_no, fw_state, jiffies));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment