MFp4 //depot/projects/usb@160614

Fix errornous printout.

Submitted by:	Hans Petter Selasky
This commit is contained in:
Andrew Thompson 2009-04-22 17:07:59 +00:00
parent 8ac0864630
commit 88b4e0abcf

View File

@ -1111,7 +1111,8 @@ usb2_probe_and_attach_sub(struct usb2_device *udev,
if (udev->flags.suspended) {
err = DEVICE_SUSPEND(iface->subdev);
device_printf(iface->subdev, "Suspend failed\n");
if (err)
device_printf(iface->subdev, "Suspend failed\n");
}
return (0); /* success */
} else {