1
0
Fork 0

[SCSI] hpsa: fix scsi status mis-shift

The SCSI status does not need to be shifted.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
wifi-calibration
Stephen M. Cameron 2010-02-25 14:03:01 -06:00 committed by James Bottomley
parent f0edafc662
commit 5512672f75
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ static void complete_scsi_command(struct CommandList *cp,
cmd->result = (DID_OK << 16); /* host byte */
cmd->result |= (COMMAND_COMPLETE << 8); /* msg byte */
cmd->result |= (ei->ScsiStatus << 1);
cmd->result |= ei->ScsiStatus;
/* copy the sense data whether we need to or not. */
memcpy(cmd->sense_buffer, ei->SenseInfo,