Changeset 592369ae in mainline for uspace/drv/ohci/iface.c


Ignore:
Timestamp:
2011-04-13T13:09:18Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a6fde4
Parents:
5a2c42b
Message:

Add proper locking to prevent use/remove race

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/iface.c

    r5a2c42b r592369ae  
    5555
    5656        size_t res_bw;
    57         endpoint_t *ep = usb_endpoint_manager_get_ep(&(*hc)->ep_manager,
     57        endpoint_t *ep = hc_get_endpoint(*hc,
    5858            target.address, target.endpoint, direction, &res_bw);
    5959        if (ep == NULL) {
Note: See TracChangeset for help on using the changeset viewer.