Commit 406d6041 authored by Jamie Wellnitz's avatar Jamie Wellnitz Committed by James Bottomley
Browse files

[SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the SLI mailbox list.



Fixed a double insertion of mail box object to the SLI mailbox list.

Signed-off-by: default avatarJamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 901a920f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2867,12 +2867,11 @@ lpfc_sli_issue_mbox_wait(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq,
		pmboxq->context1 = NULL;
		/* if schedule_timeout returns 0, we timed out and were not
		   woken up */
		if (timeleft == 0) {
		if ((timeleft == 0) || signal_pending(current))
			retval = MBX_TIMEOUT;
		} else {
		else
			retval = MBX_SUCCESS;
	}
	}


	set_current_state(TASK_RUNNING);