Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9a0f872 authored by Kashyap, Desai's avatar Kashyap, Desai Committed by James Bottomley
Browse files

[SCSI] mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset



Added missing part which will reset ioc_reset_in_progress before returning from SoftResetHandler.

Signed-off-by: default avatarKashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent cc7e9f5f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6974,6 +6974,7 @@ mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag)

	spin_lock_irqsave(&ioc->taskmgmt_lock, flags);
	if (ioc->taskmgmt_in_progress) {
		ioc->ioc_reset_in_progress = 0;
		spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags);
		return -1;
	}