mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
usb_host: report bInterfaceProtocol too
Thanks to Raphael for the patch.
This commit is contained in:
@@ -806,7 +806,11 @@ class Device : public List<Device>::Element
|
||||
uint8_t const class_value =
|
||||
interface.cur_altsetting->desc.bInterfaceClass;
|
||||
|
||||
uint8_t const protocol_value =
|
||||
interface.cur_altsetting->desc.bInterfaceProtocol;
|
||||
|
||||
xml.attribute("class", Value(Hex(class_value)));
|
||||
xml.attribute("protocol", Value(Hex(protocol_value)));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user