Changeset bb18a59 in mainline


Ignore:
Timestamp:
2011-04-03T14:21:02Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7526e3d
Parents:
9bc276b
Message:

Ensure "my interface" is alway initialized

File:
1 edited

Legend:

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

    r9bc276b rbb18a59  
    109109{
    110110        int rc;
    111         dev->interface_no = usb_device_get_assigned_interface(dev->ddf_dev);
    112111
    113112        size_t pipe_count = count_other_pipes(drv);
     
    227226        }
    228227
     228        /* Get our interface. */
     229        dev->interface_no = usb_device_get_assigned_interface(dev->ddf_dev);
     230
    229231        /*
    230232         * For further actions, we need open session on default control pipe.
Note: See TracChangeset for help on using the changeset viewer.