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