Changes in uspace/drv/ohci/root_hub.c [6ab7f3e9:b2387c2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/root_hub.c
r6ab7f3e9 rb2387c2 57 57 .device_version = 0, 58 58 .length = sizeof (usb_standard_device_descriptor_t), 59 /// \TODO this value is guessed60 59 .max_packet_size = 8, 61 60 .vendor_id = 0x16db, … … 468 467 469 468 usb_hub_bm_request_type_t request_type = request_packet->request_type; 470 if (buffer_size < 4 /*request_packet->length*/) {///\TODO469 if (buffer_size < 4) { 471 470 usb_log_warning("requested more data than buffer size\n"); 472 471 return EINVAL; … … 678 677 (instance->registers->rh_port_status[port - 1] | (1 << feature)) 679 678 & (~port_clear_feature_valid_mask); 680 /// \TODO any error?681 682 679 return EOK; 683 680 } … … 707 704 & (~port_clear_feature_valid_mask)) 708 705 | (1 << feature); 709 /// \TODO any error?710 706 711 707 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.