Changeset 7972b51 in mainline for uspace/lib/usb/src/hcdhubd.c
- Timestamp:
- 2010-12-03T10:38:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4570779, 62c9661
- Parents:
- 1f43c8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hcdhubd.c
r1f43c8f r7972b51 108 108 { 109 109 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); 111 111 if (rc <= 0) { 112 112 return rc; … … 135 135 int rc; 136 136 137 async_usleep(1000); 138 137 139 device_t *child = create_device(); 138 140 match_id_t *match_id = NULL; … … 199 201 printf("%s: about to add child device `%s' (%s)\n", hc_driver->name, 200 202 name, match_id); 203 204 /* 205 * Seems that creating fibril which postpones the action 206 * is the best solution. 207 */ 208 create_fibril = true; 201 209 202 210 struct child_device_info *child_info
Note:
See TracChangeset
for help on using the changeset viewer.