diff options
author | mav <mav@FreeBSD.org> | 2014-12-05 07:46:28 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-12-05 07:46:28 +0000 |
commit | 2ba95e01e36521fae791c0c6e67eb26fc5e166d8 (patch) | |
tree | b0f72035232248bdf5265b5a4fc8d748937293dd /sys/dev | |
parent | 19732a054076ae05a5bf9d2e116d33054e11e5b9 (diff) | |
download | FreeBSD-src-2ba95e01e36521fae791c0c6e67eb26fc5e166d8.zip FreeBSD-src-2ba95e01e36521fae791c0c6e67eb26fc5e166d8.tar.gz |
MFC r268395:
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.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 5023292..32060ca 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -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 { |