mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 11:48:58 -04:00
scsi: lpfc: Set sli4_param's cmf option to zero when CMF is turned off
Add missed clearing of phba->sli4_hba.pc_sli4_params.cmf when CMF is turned off. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20221017164323.14536-1-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
e6f8a22ff4
commit
4fc66e7b16
@@ -8354,6 +8354,7 @@ lpfc_cmf_setup(struct lpfc_hba *phba)
|
||||
phba->cgn_i = NULL;
|
||||
/* Ensure CGN Mode is off */
|
||||
phba->cmf_active_mode = LPFC_CFG_OFF;
|
||||
sli4_params->cmf = 0;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user