Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/root_hub.c

    rb2387c2 r6ab7f3e9  
    5757        .device_version = 0,
    5858        .length = sizeof (usb_standard_device_descriptor_t),
     59        /// \TODO this value is guessed
    5960        .max_packet_size = 8,
    6061        .vendor_id = 0x16db,
     
    467468
    468469        usb_hub_bm_request_type_t request_type = request_packet->request_type;
    469         if (buffer_size < 4) {
     470        if (buffer_size < 4/*request_packet->length*/) {///\TODO
    470471                usb_log_warning("requested more data than buffer size\n");
    471472                return EINVAL;
     
    677678            (instance->registers->rh_port_status[port - 1] | (1 << feature))
    678679            & (~port_clear_feature_valid_mask);
     680        /// \TODO any error?
     681
    679682        return EOK;
    680683}
     
    704707            & (~port_clear_feature_valid_mask))
    705708            | (1 << feature);
     709        /// \TODO any error?
    706710
    707711        return EOK;
Note: See TracChangeset for help on using the changeset viewer.