Skip to contentSkip to conversation

PATCH [1/5] qla2xxx: EH host-reset fixes

PATCH Andrew Vasquez 1 participant 1 message Jul 12, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

ChangeSet
1.1865 04/07/12 09:28:00 [email protected] +1 -0 Fix issue where host-reset would incorrectly return a FAILED status.

 drivers/scsi/qla2xxx/qla_os.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla2xxx/qla_os.c +1 -1
diff -Nru a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
@@ -1663,7 +1663,7 @@
 		goto out;
 
 	/* Waiting for our command in done_queue to be returned to OS.*/
-	if (qla2x00_eh_wait_for_pending_commands(ha))
+	if (!qla2x00_eh_wait_for_pending_commands(ha))
 		rval = FAILED;
 
  out: