mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset
Subsystems (2)
PATCH 7/8 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 Kashyap Desai <[email protected]>
---
drivers/message/fusion/mptbase.c +1 -0
@@ -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 ; }