Ignore:
File:
1 edited

Legend:

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

    r1f43c8f r7972b51  
    108108{
    109109        char *id;
    110         int rc = asprintf(&id, "usb&hc=%s&hub", dev->generic->name);
     110        int rc = asprintf(&id, "usb&hc=%s&hub", hc_driver->name);
    111111        if (rc <= 0) {
    112112                return rc;
     
    135135        int rc;
    136136
     137        async_usleep(1000);
     138
    137139        device_t *child = create_device();
    138140        match_id_t *match_id = NULL;
     
    199201        printf("%s: about to add child device `%s' (%s)\n", hc_driver->name,
    200202            name, match_id);
     203
     204        /*
     205         * Seems that creating fibril which postpones the action
     206         * is the best solution.
     207         */
     208        create_fibril = true;
    201209
    202210        struct child_device_info *child_info
Note: See TracChangeset for help on using the changeset viewer.