From 00e54d14f680d9961663502ef0b476792d606bc3 Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Mon, 30 Apr 2001 21:02:57 +0000 Subject: [PATCH] In camperiphscsisenseerror(), don't return an error when the error action is SS_NOP. Submitted by: joerg --- sys/cam/cam_periph.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index bc00017b6cfa..18bf45a4ebec 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -1369,6 +1369,9 @@ camperiphscsisenseerror(union ccb *ccb, cam_flags camflags, switch (err_action & SS_MASK) { case SS_NOP: + action_string = "No Recovery Action Needed"; + error = 0; + break; case SS_RETRY: action_string = "Retrying Command"; error = ERESTART;