aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-06-17 05:12:39 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:02:35 -0400
commitb9a0f872a9ff3b5074c74da98052b5205929b560 (patch)
tree08c343979940a909917588bca84e2b98670bf985 /drivers/message
parentcc7e9f5f9999d9c015686ab4a622e1fb529391eb (diff)
[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: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message')
-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 }