When autosense fails, make sure we retry the command.

PR:		kern/15975
Submitted by:	Carl Mascott <cmascott@world.std.com>, n_hibma
This commit is contained in:
ken 2000-01-25 17:45:02 +00:00
parent c856c0b7cc
commit 0741f45376

View File

@ -1439,7 +1439,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
"CAM_AUTOSENSE_FAILED");
/* NOTREACHED */
error = EIO;
} else if (ccb->ccb_h.retry_count > 0) {
} else if (ccb->ccb_h.retry_count == 0) {
/*
* XXX KDM shouldn't there be a better
* argument to return??