diff options
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5ac27ed0c63..497dbb29744 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -3037,7 +3037,7 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1, | |||
3037 | 3037 | ||
3038 | /* maybe switch power back on (e.g. root hub was reset) */ | 3038 | /* maybe switch power back on (e.g. root hub was reset) */ |
3039 | if ((wHubCharacteristics & HUB_CHAR_LPSM) < 2 | 3039 | if ((wHubCharacteristics & HUB_CHAR_LPSM) < 2 |
3040 | && !(portstatus & (1 << USB_PORT_FEAT_POWER))) | 3040 | && !(portstatus & USB_PORT_STAT_POWER)) |
3041 | set_port_feature(hdev, port1, USB_PORT_FEAT_POWER); | 3041 | set_port_feature(hdev, port1, USB_PORT_FEAT_POWER); |
3042 | 3042 | ||
3043 | if (portstatus & USB_PORT_STAT_ENABLE) | 3043 | if (portstatus & USB_PORT_STAT_ENABLE) |