/* If internal command, don't error, don't fill sense */
if(tw_dev->srb[request_id]!=0)
if(tw_dev->srb[request_id]==0){
tw_decode_sense(tw_dev,request_id,1);
tw_decode_sense(tw_dev,request_id,0);
error=3;
}else{
error=tw_decode_sense(tw_dev,request_id,1);
}
}
}
/* Check for correct state */
if(tw_dev->state[request_id]!=TW_S_POSTED){
if(tw_dev->state[request_id]!=TW_S_POSTED){
printk(KERN_WARNING"3w-xxxx: scsi%d: Received a request id (%d) (opcode = 0x%x) that wasn't posted.\n",tw_dev->host->host_no,request_id,command_packet->byte0.opcode);
printk(KERN_WARNING"3w-xxxx: scsi%d: Received a request id (%d) (opcode = 0x%x) that wasn't posted.\n",tw_dev->host->host_no,request_id,command_packet->byte0.opcode);