Changeset 59e01689 in mainline for uspace/lib/usb/src/devdrv.c


Ignore:
Timestamp:
2011-03-19T18:30:20Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09daa8b
Parents:
e93e319 (diff), 3746bfe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/devdrv.c

    re93e319 r59e01689  
    109109{
    110110        int rc;
    111         int my_interface = usb_device_get_assigned_interface(dev->ddf_dev);
     111        dev->interface_no = usb_device_get_assigned_interface(dev->ddf_dev);
    112112
    113113        size_t pipe_count = count_other_pipes(drv);
     
    134134
    135135                dev->pipes[i].description = drv->endpoints[i];
    136                 dev->pipes[i].interface_no = my_interface;
     136                dev->pipes[i].interface_no = dev->interface_no;
    137137        }
    138138
Note: See TracChangeset for help on using the changeset viewer.