]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/aic7xxx/aic7xxx_osm.c
[SCSI] aic7xxx: reset handler selects a wrong command
[karo-tx-linux.git] / drivers / scsi / aic7xxx / aic7xxx_osm.c
index 7fc6454068e47a3d6ff9710d57cb968c9163ff1d..d866213f42b8be6521a4b39dc78907c58b2a02b4 100644 (file)
@@ -2169,7 +2169,7 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag)
                        if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd),
                                          scmd_channel(cmd) + 'A',
                                          CAM_LUN_WILDCARD,
-                                         SCB_LIST_NULL, ROLE_INITIATOR) == 0)
+                                         SCB_LIST_NULL, ROLE_INITIATOR))
                                break;
                }
        }