diff options
| -rw-r--r-- | drivers/usb/host/xhci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 7da0d6043d33..526ebc0c7e72 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
| @@ -3453,6 +3453,9 @@ int xhci_discover_or_reset_device(struct usb_hcd *hcd, struct usb_device *udev) | |||
| 3453 | return -EINVAL; | 3453 | return -EINVAL; |
| 3454 | } | 3454 | } |
| 3455 | 3455 | ||
| 3456 | if (virt_dev->tt_info) | ||
| 3457 | old_active_eps = virt_dev->tt_info->active_eps; | ||
| 3458 | |||
| 3456 | if (virt_dev->udev != udev) { | 3459 | if (virt_dev->udev != udev) { |
| 3457 | /* If the virt_dev and the udev does not match, this virt_dev | 3460 | /* If the virt_dev and the udev does not match, this virt_dev |
| 3458 | * may belong to another udev. | 3461 | * may belong to another udev. |
