Browse Source

cciss: fix typo that causes scsi status to be lost.

cciss: fix typo that causes scsi status to be lost.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Stephen M. Cameron 15 years ago
parent
commit
b0e15f6db1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/block/cciss_scsi.c

+ 1 - 1
drivers/block/cciss_scsi.c

@@ -755,7 +755,7 @@ complete_scsi_command( CommandList_struct *cp, int timeout, __u32 tag)
                         			cp,  
 						ei->ScsiStatus); 
 #endif
-					cmd->result |= (ei->ScsiStatus < 1);
+					cmd->result |= (ei->ScsiStatus << 1);
                 		}
 				else {  /* scsi status is zero??? How??? */