Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1a2227d in mainline


Ignore:
Timestamp:
2018-02-01T16:10:12Z (2 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
master
Children:
24c41ba
Parents:
a1ce9bd
git-author:
Petr Manek <petr.manek@…> (2018-01-31 20:06:05)
git-committer:
Petr Manek <petr.manek@…> (2018-02-01 16:10:12)
Message:

usbdev: endpoint mapping tolerates multiple endpoints of the same type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipesinit.c

    ra1ce9bd r1a2227d  
    146146                if (interface_number_fits
    147147                    && interface_setting_fits
    148                     && endpoint_descriptions_fits) {
     148                    && endpoint_descriptions_fits
     149                    && !mapping->present) {
    149150                        return mapping;
    150151                }
     
    153154                mapping_count--;
    154155        }
     156
    155157        return NULL;
    156158}
Note: See TracChangeset for help on using the changeset viewer.