Changes in uspace/lib/usb/src/resolve.c [e280857:e8f826b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/resolve.c
re280857 re8f826b 46 46 devman_handle_t *out_hc_handle, usb_address_t *out_device_address) 47 47 { 48 uint64_t sid;48 size_t class_index; 49 49 size_t address; 50 50 int rc; 51 51 char *ptr; 52 52 53 rc = str_ uint64(path, &ptr, 10, false, &sid);53 rc = str_size_t(path, &ptr, 10, false, &class_index); 54 54 if (rc != EOK) { 55 55 return false; … … 64 64 return false; 65 65 } 66 rc = usb_ddf_get_hc_handle_by_ sid(sid, out_hc_handle);66 rc = usb_ddf_get_hc_handle_by_class(class_index, out_hc_handle); 67 67 if (rc != EOK) { 68 68 return false;
Note:
See TracChangeset
for help on using the changeset viewer.