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