aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_io.c')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c
index e711ea3dd900..72940b8625bd 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_io.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_io.c
@@ -1862,7 +1862,8 @@ static int bnx2fc_post_io_req(struct bnx2fc_rport *tgt,
1862 } 1862 }
1863 1863
1864 /* Time IO req */ 1864 /* Time IO req */
1865 bnx2fc_cmd_timer_set(io_req, BNX2FC_IO_TIMEOUT); 1865 if (tgt->io_timeout)
1866 bnx2fc_cmd_timer_set(io_req, BNX2FC_IO_TIMEOUT);
1866 /* Obtain free SQ entry */ 1867 /* Obtain free SQ entry */
1867 bnx2fc_add_2_sq(tgt, xid); 1868 bnx2fc_add_2_sq(tgt, xid);
1868 1869