diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index 3c96e9300d00..14243fa5f8e8 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
@@ -1380,10 +1380,10 @@ static void fc_fcp_timeout(unsigned long data) | |||
1380 | 1380 | ||
1381 | fsp->state |= FC_SRB_FCP_PROCESSING_TMO; | 1381 | fsp->state |= FC_SRB_FCP_PROCESSING_TMO; |
1382 | 1382 | ||
1383 | if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) | 1383 | if (fsp->state & FC_SRB_RCV_STATUS) |
1384 | fc_fcp_rec(fsp); | ||
1385 | else if (fsp->state & FC_SRB_RCV_STATUS) | ||
1386 | fc_fcp_complete_locked(fsp); | 1384 | fc_fcp_complete_locked(fsp); |
1385 | else if (rpriv->flags & FC_RP_FLAGS_REC_SUPPORTED) | ||
1386 | fc_fcp_rec(fsp); | ||
1387 | else | 1387 | else |
1388 | fc_fcp_recovery(fsp, FC_TIMED_OUT); | 1388 | fc_fcp_recovery(fsp, FC_TIMED_OUT); |
1389 | fsp->state &= ~FC_SRB_FCP_PROCESSING_TMO; | 1389 | fsp->state &= ~FC_SRB_FCP_PROCESSING_TMO; |