diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 8c64494444bf..311ed6dea726 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -1964,10 +1964,10 @@ lpfc_set_disctmo(struct lpfc_vport *vport) | |||
1964 | uint32_t tmo; | 1964 | uint32_t tmo; |
1965 | 1965 | ||
1966 | if (vport->port_state == LPFC_LOCAL_CFG_LINK) { | 1966 | if (vport->port_state == LPFC_LOCAL_CFG_LINK) { |
1967 | /* For FAN, timeout should be greater then edtov */ | 1967 | /* For FAN, timeout should be greater than edtov */ |
1968 | tmo = (((phba->fc_edtov + 999) / 1000) + 1); | 1968 | tmo = (((phba->fc_edtov + 999) / 1000) + 1); |
1969 | } else { | 1969 | } else { |
1970 | /* Normal discovery timeout should be > then ELS/CT timeout | 1970 | /* Normal discovery timeout should be > than ELS/CT timeout |
1971 | * FC spec states we need 3 * ratov for CT requests | 1971 | * FC spec states we need 3 * ratov for CT requests |
1972 | */ | 1972 | */ |
1973 | tmo = ((phba->fc_ratov * 3) + 3); | 1973 | tmo = ((phba->fc_ratov * 3) + 3); |