Changes in / [030937e:02cacce] in mainline


Ignore:
File:
1 edited

Legend:

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

    r030937e r02cacce  
    158158}
    159159
    160 /** Find devman handle assigned to USB address.
    161  * Intentionally refuse to find handle of default address.
     160/** Find devman handled assigned to USB address.
    162161 *
    163162 * @param[in] instance Device keeper structure to use.
     
    171170        assert(instance);
    172171        fibril_mutex_lock(&instance->guard);
    173         if ((address <= 0) || (address >= USB_ADDRESS_COUNT)) {
     172        if ((address < 0) || (address >= USB_ADDRESS_COUNT)) {
    174173                fibril_mutex_unlock(&instance->guard);
    175174                return false;
Note: See TracChangeset for help on using the changeset viewer.