diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 691acf2223c2..481dca641ea2 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2818,9 +2818,9 @@ static void hub_events(void) | |||
2818 | clear_hub_feature(hdev, C_HUB_LOCAL_POWER); | 2818 | clear_hub_feature(hdev, C_HUB_LOCAL_POWER); |
2819 | if (hubstatus & HUB_STATUS_LOCAL_POWER) | 2819 | if (hubstatus & HUB_STATUS_LOCAL_POWER) |
2820 | /* FIXME: Is this always true? */ | 2820 | /* FIXME: Is this always true? */ |
2821 | hub->limited_power = 0; | ||
2822 | else | ||
2823 | hub->limited_power = 1; | 2821 | hub->limited_power = 1; |
2822 | else | ||
2823 | hub->limited_power = 0; | ||
2824 | } | 2824 | } |
2825 | if (hubchange & HUB_CHANGE_OVERCURRENT) { | 2825 | if (hubchange & HUB_CHANGE_OVERCURRENT) { |
2826 | dev_dbg (hub_dev, "overcurrent change\n"); | 2826 | dev_dbg (hub_dev, "overcurrent change\n"); |