Changeset 26e2de3 in mainline


Ignore:
Timestamp:
2013-09-01T16:01:44Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dd7078c
Parents:
5856b627
Message:

libusbhost: reuse data set function for cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/endpoint.c

    r5856b627 r26e2de3  
    111111{
    112112        assert(instance);
    113         fibril_mutex_lock(&instance->guard);
    114         instance->hc_data.data = NULL;
    115         instance->hc_data.toggle_get = NULL;
    116         instance->hc_data.toggle_set = NULL;
    117         fibril_mutex_unlock(&instance->guard);
     113        endpoint_set_hc_data(instance, NULL, NULL, NULL);
    118114}
    119115
Note: See TracChangeset for help on using the changeset viewer.