mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
lpfc: Fix internal loopback failure.
Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
be6bb94100
commit
6eae430328
1 changed files with 5 additions and 1 deletions
|
|
@ -3337,7 +3337,11 @@ lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
|
|||
/* FLOGI retry policy */
|
||||
retry = 1;
|
||||
/* retry FLOGI forever */
|
||||
maxretry = 0;
|
||||
if (phba->link_flag != LS_LOOPBACK_MODE)
|
||||
maxretry = 0;
|
||||
else
|
||||
maxretry = 2;
|
||||
|
||||
if (cmdiocb->retry >= 100)
|
||||
delay = 5000;
|
||||
else if (cmdiocb->retry >= 32)
|
||||
|
|
|
|||
Loading…
Reference in a new issue