|
@@ -1147,7 +1147,8 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type)
|
|
/* Tell khubd to disconnect the device or
|
|
/* Tell khubd to disconnect the device or
|
|
* check for a new connection
|
|
* check for a new connection
|
|
*/
|
|
*/
|
|
- if (udev || (portstatus & USB_PORT_STAT_CONNECTION))
|
|
|
|
|
|
+ if (udev || (portstatus & USB_PORT_STAT_CONNECTION) ||
|
|
|
|
+ (portstatus & USB_PORT_STAT_OVERCURRENT))
|
|
set_bit(port1, hub->change_bits);
|
|
set_bit(port1, hub->change_bits);
|
|
|
|
|
|
} else if (portstatus & USB_PORT_STAT_ENABLE) {
|
|
} else if (portstatus & USB_PORT_STAT_ENABLE) {
|