summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-05 07:46:28 +0000
committermav <mav@FreeBSD.org>2014-12-05 07:46:28 +0000
commit2ba95e01e36521fae791c0c6e67eb26fc5e166d8 (patch)
treeb0f72035232248bdf5265b5a4fc8d748937293dd /sys/dev
parent19732a054076ae05a5bf9d2e116d33054e11e5b9 (diff)
downloadFreeBSD-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.c2
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 {
OpenPOWER on IntegriCloud