Changes in uspace/drv/vhc/hubops.c [10096231:4b4c797] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hubops.c
r10096231 r4b4c797 195 195 } 196 196 197 static int get_hub_descriptor(struct usbvirt_device *dev, 198 uint8_t descriptor_index, 199 uint8_t descriptor_type, uint16_t length) 200 { 201 if (descriptor_type == USB_DESCTYPE_HUB) { 202 int rc = dev->control_transfer_reply(dev, 0, 203 &hub_descriptor, hub_descriptor.length); 204 205 return rc; 206 207 } 208 197 static int get_hub_descriptor(uint8_t descriptor_type, 198 uint8_t descriptor_index, uint16_t length) 199 { 209 200 return ENOTSUP; 210 201 } … … 322 313 323 314 case USB_HUB_REQUEST_GET_DESCRIPTOR: 324 return get_hub_descriptor( dev,request->value_low,315 return get_hub_descriptor(request->value_low, 325 316 request->value_high, request->length); 326 317
Note:
See TracChangeset
for help on using the changeset viewer.