Commit 77d093fb authored by James Smart's avatar James Smart Committed by James Bottomley
Browse files

lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset

parent c749e6bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7953,7 +7953,7 @@ lpfc_pci_function_reset(struct lpfc_hba *phba)
		 * up to 30 seconds. If the port doesn't respond, treat
		 * it as an error.
		 */
		for (rdy_chk = 0; rdy_chk < 3000; rdy_chk++) {
		for (rdy_chk = 0; rdy_chk < 1500; rdy_chk++) {
			if (lpfc_readl(phba->sli4_hba.u.if_type2.
				STATUSregaddr, &reg_data.word0)) {
				rc = -ENODEV;