MFp4 //depot/projects/usb@160614
Fix errornous printout. Submitted by: Hans Petter Selasky
This commit is contained in:
parent
8ac0864630
commit
88b4e0abcf
@ -1111,7 +1111,8 @@ usb2_probe_and_attach_sub(struct usb2_device *udev,
|
|||||||
|
|
||||||
if (udev->flags.suspended) {
|
if (udev->flags.suspended) {
|
||||||
err = DEVICE_SUSPEND(iface->subdev);
|
err = DEVICE_SUSPEND(iface->subdev);
|
||||||
device_printf(iface->subdev, "Suspend failed\n");
|
if (err)
|
||||||
|
device_printf(iface->subdev, "Suspend failed\n");
|
||||||
}
|
}
|
||||||
return (0); /* success */
|
return (0); /* success */
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user