Name
usb_get_descriptor_by_endpoint -- Retrieves a descriptor from a device
Description
usb_get_descriptor_by_endpoint retrieves a descriptor from the device identified by the type and index of the descriptor from the control pipe identified by ep. Returns number of bytes read for the descriptor or < 0 on error.