Index: device/usb/usb_device_handle_impl.cc |
diff --git a/device/usb/usb_device_handle_impl.cc b/device/usb/usb_device_handle_impl.cc |
index 6a0861263e58f50557f68731b46079fecd62df9b..87b379d0878c1346bec3c2ce9b4500933885d279 100644 |
--- a/device/usb/usb_device_handle_impl.cc |
+++ b/device/usb/usb_device_handle_impl.cc |
@@ -776,7 +776,7 @@ void UsbDeviceHandleImpl::ResetDeviceOnBlockingThread( |
void UsbDeviceHandleImpl::RefreshEndpointMap() { |
DCHECK(thread_checker_.CalledOnValidThread()); |
endpoint_map_.clear(); |
- const UsbConfigDescriptor* config = device_->GetConfiguration(); |
+ const UsbConfigDescriptor* config = device_->GetCurrentConfiguration(); |
if (config) { |
for (const auto& map_entry : claimed_interfaces_) { |
int interface_number = map_entry.first; |