diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_els.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 6d12cd0c49ff..4813beaaca8f 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -1523,6 +1523,12 @@ lpfc_els_retry_delay_handler(struct lpfc_nodelist *ndlp) | |||
1523 | 1523 | ||
1524 | ndlp->nlp_flag &= ~NLP_DELAY_TMO; | 1524 | ndlp->nlp_flag &= ~NLP_DELAY_TMO; |
1525 | spin_unlock_irq(phba->host->host_lock); | 1525 | spin_unlock_irq(phba->host->host_lock); |
1526 | /* | ||
1527 | * If a discovery event readded nlp_delayfunc after timer | ||
1528 | * firing and before processing the timer, cancel the | ||
1529 | * nlp_delayfunc. | ||
1530 | */ | ||
1531 | del_timer_sync(&ndlp->nlp_delayfunc); | ||
1526 | retry = ndlp->nlp_retry; | 1532 | retry = ndlp->nlp_retry; |
1527 | 1533 | ||
1528 | switch (cmd) { | 1534 | switch (cmd) { |