| 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 c9d69a4c42c7749f73ccf14b1cf37828a8163d4f..c88fb9bc5f5bc6499a33e7e312938610ff067a5f 100644
|
| --- a/device/usb/usb_device_handle_impl.cc
|
| +++ b/device/usb/usb_device_handle_impl.cc
|
| @@ -564,8 +564,11 @@ void UsbDeviceHandleImpl::ControlTransfer(
|
| this,
|
| timeout);
|
|
|
| - PostOrSubmitTransfer(
|
| - transfer, USB_TRANSFER_CONTROL, resized_buffer, resized_length, callback);
|
| + PostOrSubmitTransfer(transfer,
|
| + USB_TRANSFER_CONTROL,
|
| + resized_buffer.get(),
|
| + resized_length,
|
| + callback);
|
| }
|
|
|
| void UsbDeviceHandleImpl::BulkTransfer(const UsbEndpointDirection direction,
|
|
|