Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough.
This commit is contained in:
parent
4591175cd8
commit
cf45d5da77
@ -1878,7 +1878,6 @@ SRBdone(struct amd_softc *amd, struct amd_srb *pSRB)
|
||||
|
||||
status = pSRB->TargetStatus;
|
||||
pccb->ccb_h.status = CAM_REQ_CMP;
|
||||
pccb->ccb_h.status = CAM_REQ_CMP;
|
||||
if (pSRB->SRBFlag & AUTO_REQSENSE) {
|
||||
pSRB->SRBFlag &= ~AUTO_REQSENSE;
|
||||
pSRB->AdaptStatus = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user