diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2001-01-05 10:25:47 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2001-01-05 10:25:47 +0000 |
commit | 05000c266a61b7afcca07ca95e080a19d89a02b3 (patch) | |
tree | 5a287eaea2e9ae87b5b3df4dda3119cc9758fd31 /sys/dev/usb | |
parent | 1f501b717af64e7e96f390c51c77baabe2278b84 (diff) | |
download | FreeBSD-src-05000c266a61b7afcca07ca95e080a19d89a02b3.zip FreeBSD-src-05000c266a61b7afcca07ca95e080a19d89a02b3.tar.gz |
Bugfix: device_resume should be connected to bus_generic_resume not
*_suspend.
Submitted by: kazu
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/uhub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index defe184..20d62cf 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -119,7 +119,7 @@ Static device_method_t uhubroot_methods[] = { DEVMETHOD(device_attach, uhub_attach), /* detach is not allowed for a root hub */ DEVMETHOD(device_suspend, bus_generic_suspend), - DEVMETHOD(device_resume, bus_generic_suspend), + DEVMETHOD(device_resume, bus_generic_resume), DEVMETHOD(device_shutdown, bus_generic_shutdown), {0,0} }; |