USB: core: Fix bug in resuming hub's handling of wakeup requests
[platform/kernel/linux-starfive.git] / drivers / usb / core / hub.c
index 86658a8..c060db5 100644 (file)
@@ -1225,7 +1225,7 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type)
                         */
                        if (portchange || (hub_is_superspeed(hub->hdev) &&
                                                port_resumed))
-                               set_bit(port1, hub->change_bits);
+                               set_bit(port1, hub->event_bits);
 
                } else if (udev->persist_enabled) {
 #ifdef CONFIG_PM