Pass correct command that should be aborted to ISPCTL_ABORT_CMD.
This makes XPT_ABORT to work for me on initiator side of isp(4). Previous code was trying to abort the XPT_ABORT itself and failed. MFC after: 1 week
This commit is contained in:
parent
74ba624bf0
commit
950b6e126b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268395
@ -5107,7 +5107,7 @@ isp_action(struct cam_sim *sim, union ccb *ccb)
|
||||
break;
|
||||
#endif
|
||||
case XPT_SCSI_IO:
|
||||
error = isp_control(isp, ISPCTL_ABORT_CMD, ccb);
|
||||
error = isp_control(isp, ISPCTL_ABORT_CMD, accb);
|
||||
if (error) {
|
||||
ccb->ccb_h.status = CAM_UA_ABORT;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user