Changes in / [84a04dd:44b1674] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r84a04dd r44b1674 105 105 } 106 106 107 //usb_pipe_start_session(hub_info->control_pipe);108 107 //set hub configuration 109 108 opResult = usb_hub_set_configuration(hub_info); … … 122 121 return opResult; 123 122 } 124 //usb_pipe_end_session(hub_info->control_pipe);125 126 123 127 124 usb_log_debug("Creating 'hub' function in DDF.\n"); … … 218 215 // get hub descriptor 219 216 usb_log_debug("creating serialized descriptor\n"); 220 //void * serialized_descriptor = malloc(USB_HUB_MAX_DESCRIPTOR_SIZE);221 217 uint8_t serialized_descriptor[USB_HUB_MAX_DESCRIPTOR_SIZE]; 222 218 usb_hub_descriptor_t * descriptor; … … 281 277 } 282 278 usb_log_debug2("freeing data\n"); 283 //free(serialized_descriptor);284 //free(descriptor->devices_removable);285 279 free(descriptor); 286 280 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.