Changeset 56fd7cf in mainline for uspace/lib/usbdev/src/hub.c
- Timestamp:
- 2012-08-17T11:37:03Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d5a540
- Parents:
- be2a38ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
rbe2a38ad r56fd7cf 63 63 return EBADMEM; 64 64 return usb_hc_bind_address(connection, 65 attached_device->address, attached_device->fun->handle);65 attached_device->address, ddf_fun_get_handle(attached_device->fun)); 66 66 } 67 67 … … 287 287 rc = usb_hub_register_device(hc_conn, &new_device); 288 288 if (rc != EOK) { 289 /* We know nothing about that data. */290 if (new_dev_data)291 child_fun->driver_data = NULL;292 289 /* The child function is already created. */ 293 290 ddf_fun_destroy(child_fun);
Note:
See TracChangeset
for help on using the changeset viewer.