diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 624378404b37..7a6ddda70386 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -4148,7 +4148,7 @@ static void hub_set_initial_usb2_lpm_policy(struct usb_device *udev) struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; - if (!udev->usb2_hw_lpm_capable) + if (!udev->usb2_hw_lpm_capable || !udev->bos) return; if (hub)