summaryrefslogtreecommitdiffstats
path: root/device/usb/mojo/type_converters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/usb/mojo/type_converters.cc')
-rw-r--r--device/usb/mojo/type_converters.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/usb/mojo/type_converters.cc b/device/usb/mojo/type_converters.cc
index e22b58f..a2daeaa 100644
--- a/device/usb/mojo/type_converters.cc
+++ b/device/usb/mojo/type_converters.cc
@@ -185,6 +185,7 @@ TypeConverter<mojo::Array<device::usb::InterfaceInfoPtr>,
// This is the first time we're seeing an alternate with this interface
// number, so add a new InterfaceInfo to the array and map the number.
auto info = device::usb::InterfaceInfo::New();
+ info->interface_number = interfaces[i].interface_number;
iter = interface_map
.insert(
std::make_pair(interfaces[i].interface_number, info.get()))