mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
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:
parent
701d9f1f1d
commit
af06505ae3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145817
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user