Created
March 5, 2012 22:41
-
-
Save ctuffli/1981677 to your computer and use it in GitHub Desktop.
CTL not setting CAM_DIR_NONE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/cam/ctl/scsi_ctl.c b/sys/cam/ctl/scsi_ctl.c | |
index 1d547d5..e60d70e 100644 | |
--- a/sys/cam/ctl/scsi_ctl.c | |
+++ b/sys/cam/ctl/scsi_ctl.c | |
@@ -729,7 +816,7 @@ ctlfestart(struct cam_periph *periph, union ccb *start_ccb) | |
/* | |
* We're done, send status back. | |
*/ | |
- flags |= CAM_SEND_STATUS; | |
+ flags |= CAM_DIR_NONE | CAM_SEND_STATUS; | |
if (io == NULL) { | |
scsi_status = SCSI_STATUS_BUSY; | |
csio->sense_len = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment