Changeset 90b9ab5 in mainline
- Timestamp:
- 2011-04-06T18:10:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ce42e85
- Parents:
- 9783496
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/host/usb_endpoint_manager.c
r9783496 r90b9ab5 30 30 #include <assert.h> 31 31 #include <errno.h> 32 32 33 #include <usb/host/usb_endpoint_manager.h> 33 34 … … 62 63 } 63 64 /*----------------------------------------------------------------------------*/ 64 static int ep_compare( 65 unsigned long key[], hash_count_t keys, link_t *item) 65 static int ep_compare(unsigned long key[], hash_count_t keys, link_t *item) 66 66 { 67 67 assert(item); 68 ep_t *ep = 69 hash_table_get_instance(item, ep_t, link); 68 ep_t *ep = hash_table_get_instance(item, ep_t, link); 70 69 hash_count_t i = 0; 71 70 for (; i < keys; ++i) { … … 157 156 fibril_mutex_lock(&instance->guard); 158 157 159 160 158 link_t *item = 161 159 hash_table_find(&instance->ep_table, (unsigned long*)&id); … … 178 176 ep->id = id; 179 177 ep->bw = bw; 178 ep->data = data; 180 179 link_initialize(&ep->link); 181 180
Note:
See TracChangeset
for help on using the changeset viewer.