aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/message/fusion/mptbase.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index 49005e151058..d0855f278db4 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -6974,6 +6974,7 @@ mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag)
6974 6974
6975 spin_lock_irqsave(&ioc->taskmgmt_lock, flags); 6975 spin_lock_irqsave(&ioc->taskmgmt_lock, flags);
6976 if (ioc->taskmgmt_in_progress) { 6976 if (ioc->taskmgmt_in_progress) {
6977 ioc->ioc_reset_in_progress = 0;
6977 spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags); 6978 spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags);
6978 return -1; 6979 return -1;
6979 } 6980 }