Changeset 7711296 in mainline for uspace/lib/usbdev/src/hub.c
- Timestamp:
- 2011-11-30T16:08:14Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f9776ae5
- Parents:
- 9dbfd288
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
r9dbfd288 r7711296 227 227 return EINVAL; 228 228 229 // FIXME: this is awful, we are accessing directly the structure.230 229 // TODO: Why not use provided connection? 231 usb_hc_connection_t hc_conn = { 232 .hc_handle = connection->hc_handle, 233 .hc_sess = NULL 234 }; 230 usb_hc_connection_t hc_conn; 231 usb_hc_connection_initialize(&hc_conn, connection->hc_handle); 235 232 236 233 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.