Changes in uspace/lib/usbdev/src/dp.c [8d2dd7f2:ae3a941] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/dp.c
r8d2dd7f2 rae3a941 62 62 NESTING(CONFIGURATION, INTERFACE), 63 63 NESTING(INTERFACE, ENDPOINT), 64 NESTING(ENDPOINT, SSPEED_EP_COMPANION), 64 65 NESTING(INTERFACE, HUB), 65 66 NESTING(INTERFACE, HID), … … 126 127 * @retval -1 Invalid input. 127 128 */ 128 static int get_descriptor_type(const usb_dp_parser_data_t *data, const uint8_t *start) 129 static int get_descriptor_type(const usb_dp_parser_data_t *data, 130 const uint8_t *start) 129 131 { 130 132 if (start == NULL) { … … 257 259 int parent_type = get_descriptor_type(data, parent); 258 260 int possible_sibling_type = get_descriptor_type(data, possible_sibling); 259 if (is_nested_descriptor_type(parser, possible_sibling_type, parent_type)) { 261 if (is_nested_descriptor_type(parser, 262 possible_sibling_type, parent_type)) { 260 263 return possible_sibling; 261 264 } else {
Note:
See TracChangeset
for help on using the changeset viewer.