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:
Kenneth D. Merry 2000-01-25 17:45:02 +00:00
parent 937097d9cc
commit 56e3e24bfd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56596

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??