diff options
-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 f0dd08198d74..5286bf67869a 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -4275,7 +4275,7 @@ static void hub_set_initial_usb2_lpm_policy(struct usb_device *udev) | |||
4275 | struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); | 4275 | struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); |
4276 | int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; | 4276 | int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN; |
4277 | 4277 | ||
4278 | if (!udev->usb2_hw_lpm_capable) | 4278 | if (!udev->usb2_hw_lpm_capable || !udev->bos) |
4279 | return; | 4279 | return; |
4280 | 4280 | ||
4281 | if (hub) | 4281 | if (hub) |