diff options
Diffstat (limited to 'drivers/usb/host/uhci-hub.c')
-rw-r--r-- | drivers/usb/host/uhci-hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hub.c b/drivers/usb/host/uhci-hub.c index ddb19cbf4b75..fc34fee2ab07 100644 --- a/drivers/usb/host/uhci-hub.c +++ b/drivers/usb/host/uhci-hub.c | |||
@@ -60,7 +60,7 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
60 | test_bit(port, &uhci->port_c_suspend)) | 60 | test_bit(port, &uhci->port_c_suspend)) |
61 | *buf |= (1 << (port + 1)); | 61 | *buf |= (1 << (port + 1)); |
62 | } | 62 | } |
63 | if (*buf && uhci->state == UHCI_SUSPENDED) | 63 | if (*buf && uhci->is_stopped) |
64 | uhci->resume_detect = 1; | 64 | uhci->resume_detect = 1; |
65 | return !!*buf; | 65 | return !!*buf; |
66 | } | 66 | } |