MFp4:
If on sense request device returns no sence, give up and return, or we may loop forever.
This commit is contained in:
parent
3ba45aaa60
commit
01a967e266
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197421
@ -1034,8 +1034,13 @@ camperiphdone(struct cam_periph *periph, union ccb *done_ccb)
|
||||
cam_error_print(saved_ccb, CAM_ESF_ALL,
|
||||
CAM_EPF_ALL);
|
||||
#endif
|
||||
xpt_done_ccb = TRUE;
|
||||
} else {
|
||||
saved_ccb->ccb_h.status &=
|
||||
~CAM_STATUS_MASK;
|
||||
saved_ccb->ccb_h.status |=
|
||||
CAM_AUTOSENSE_FAIL;
|
||||
}
|
||||
xpt_done_ccb = TRUE;
|
||||
}
|
||||
}
|
||||
bcopy(done_ccb->ccb_h.saved_ccb_ptr, done_ccb,
|
||||
|
Loading…
Reference in New Issue
Block a user