git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
usb
/
core
/
usb.c
diff --git
a/drivers/usb/core/usb.c
b/drivers/usb/core/usb.c
index
324e16c
..
de2edfb
100644
(file)
--- a/
drivers/usb/core/usb.c
+++ b/
drivers/usb/core/usb.c
@@
-93,6
+93,8
@@
int usb_probe_interface(struct device *dev)
if (!driver->probe)
return error;
+ if (interface_to_usbdev(intf)->state == USB_STATE_SUSPENDED)
+ return -EHOSTUNREACH;
id = usb_match_id (intf, driver->id_table);
if (id) {