| Index: device/usb/mojo/type_converters.cc
|
| diff --git a/device/usb/mojo/type_converters.cc b/device/usb/mojo/type_converters.cc
|
| index a2daeaa25c5c5f07e4af6aff4db82f774b629f43..b7bfd7fe0ccca69da1b9ac2775cc5c03fc51cd26 100644
|
| --- a/device/usb/mojo/type_converters.cc
|
| +++ b/device/usb/mojo/type_converters.cc
|
| @@ -138,7 +138,7 @@ device::usb::EndpointInfoPtr
|
| TypeConverter<device::usb::EndpointInfoPtr, device::UsbEndpointDescriptor>::
|
| Convert(const device::UsbEndpointDescriptor& endpoint) {
|
| device::usb::EndpointInfoPtr info = device::usb::EndpointInfo::New();
|
| - info->endpoint_number = endpoint.address;
|
| + info->endpoint_number = endpoint.address & 0xf;
|
| info->direction =
|
| ConvertTo<device::usb::TransferDirection>(endpoint.direction);
|
| info->type = ConvertTo<device::usb::EndpointType>(endpoint.transfer_type);
|
|
|