IOC INIT frame needs to be fired with a timeout of 180seconds.

Signed-off-by: Shivasharan S <shivasharan.srikanteshw...@broadcom.com>
---
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c 
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index a26abc041435..c5e6bccb0895 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -1113,7 +1113,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
 
        megasas_fire_cmd_fusion(instance, &req_desc);
 
-       wait_and_poll(instance, cmd, MFI_POLL_TIMEOUT_SECS);
+       wait_and_poll(instance, cmd, MFI_IO_TIMEOUT_SECS);
 
        frame_hdr = &cmd->frame->hdr;
        if (frame_hdr->cmd_status != 0) {
-- 
2.16.1

Reply via email to