Properly mask off the status bits when checking to see if the ccb is still

valid to process.  This was causing deferred commands to be rejected due
to their extra status flag.

MFC After: 3 days
This commit is contained in:
Scott Long 2005-05-03 07:11:19 +00:00
parent 701d9f1f1d
commit af06505ae3

View File

@ -1497,7 +1497,7 @@ static VOID arcmsr_executesrb(VOID *arg,bus_dma_segment_t *dm_segs,LONG nseg,LON
return;
}
arcmsr_build_srb(pSRB,dm_segs,nseg);
if(pccb->ccb_h.status != CAM_REQ_INPROG)
if((pccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_INPROG)
{
if(nseg != 0)
{