diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 0415643814af..091b96f24887 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -1772,7 +1772,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags, xpt_print(ccb->ccb_h.path, "Retrying command\n"); } - if (devctl_err) + if (devctl_err && (error != 0 || (action & SSQ_PRINT_SENSE) != 0)) cam_periph_devctl_notify(orig_ccb); if ((action & SSQ_LOST) != 0) {