diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 3eebe663a2e5..4d4e217edd84 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -563,6 +563,8 @@ lpfc_handle_latt(struct lpfc_hba * phba) | |||
563 | 563 | ||
564 | rc = -EIO; | 564 | rc = -EIO; |
565 | 565 | ||
566 | /* Cleanup any outstanding ELS commands */ | ||
567 | lpfc_els_flush_cmd(phba); | ||
566 | 568 | ||
567 | psli->slistat.link_event++; | 569 | psli->slistat.link_event++; |
568 | lpfc_read_la(phba, pmb, mp); | 570 | lpfc_read_la(phba, pmb, mp); |