]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/aacraid/linit.c
[SCSI] aacraid: ignore adapter reset check polarity
[linux-2.6-omap-h63xx.git] / drivers / scsi / aacraid / linit.c
index 7232e7326ded39f196ba6ab183a7f09a65917727..fdfbad0903fdf30945175719574109dcea12f8dd 100644 (file)
@@ -641,7 +641,7 @@ static int aac_eh_reset(struct scsi_cmnd* cmd)
           AAC_OPTION_MU_RESET) &&
          aac_check_reset &&
          ((aac_check_reset != 1) ||
-          (aac->supplement_adapter_info.SupportedOptions2 &
+          !(aac->supplement_adapter_info.SupportedOptions2 &
            AAC_OPTION_IGNORE_RESET)))
                aac_reset_adapter(aac, 2); /* Bypass wait for command quiesce */
        return SUCCESS; /* Cause an immediate retry of the command with a ten second delay after successful tur */