diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-05 15:36:23 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-05 15:36:23 +0000 |
commit | ec8f31275d52fa592305e9a9eca263ebfaed25e0 (patch) | |
tree | 3b824f3d7cff91427680192e6b5410a43bc2846a /sys/dev/usb/controller/ehci.c | |
parent | d1884d416a580919f8b7d6ddb58a83099234a85f (diff) | |
download | src-ec8f31275d52fa592305e9a9eca263ebfaed25e0.tar.gz src-ec8f31275d52fa592305e9a9eca263ebfaed25e0.zip |
Revert part of r191494 which used the udev state to mark suspending, this needs
to be set via two variables (peer_suspended and self_suspended) and can not be
merged into one.
Submitted by: Hans Petter Selasky
Pointy hat: me
Notes
Notes:
svn path=/head/; revision=191824
Diffstat (limited to 'sys/dev/usb/controller/ehci.c')
-rw-r--r-- | sys/dev/usb/controller/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index b3d5f70bf10f..74539f575043 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -1964,7 +1964,7 @@ ehci_setup_standard_chain(struct usb2_xfer *xfer, ehci_qh_t **qh_last) usb2_pc_cpu_flush(qh->page_cache); - if (xfer->xroot->udev->state != USB_STATE_SUSPENDED) { + if (xfer->xroot->udev->flags.self_suspended == 0) { EHCI_APPEND_QH(qh, *qh_last); } } |