Changeset 1760556 in mainline


Ignore:
Timestamp:
2013-12-31T07:41:12Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c24983
Parents:
75d8821
Message:

ohci: Fix rh descriptor reported size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_rh.c

    r75d8821 r1760556  
    6363        assert(instance);
    6464        const unsigned dsize = sizeof(usb_hub_descriptor_header_t) +
    65             STATUS_BYTES(instance->port_count);
     65            STATUS_BYTES(instance->port_count) * 2;
    6666        assert(dsize <= sizeof(instance->hub_descriptor));
    6767        const uint32_t hub_desc = OHCI_RD(instance->registers->rh_desc_a);
Note: See TracChangeset for help on using the changeset viewer.