Ignore:
Timestamp:
2011-10-31T16:15:01Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
062165f
Parents:
67f55e7b
Message:

libusbhost: Require all EP to have their address occupied before registering.

Including 0:0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb_device_manager.c

    r67f55e7b r1b17e37  
    219219{
    220220        assert(instance);
    221         if ((address <= 0) || (address >= USB_ADDRESS_COUNT)) {
     221        if ((address < 0) || (address >= USB_ADDRESS_COUNT)) {
    222222                return EINVAL;
    223223        }
Note: See TracChangeset for help on using the changeset viewer.