Changeset f959a20f in mainline for uspace/drv/bus/usb/ohci/endpoint_list.c
- Timestamp:
- 2019-02-01T22:32:38Z (5 years ago)
- Children:
- 00b7fc8
- Parents:
- 1a37496
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 21:22:39)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 22:32:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/endpoint_list.c
r1a37496 rf959a20f 156 156 const char *qpos = NULL; 157 157 ed_t *prev_ed; 158 link_t *prev_link = list_prev(&ep->eplist_link, &instance->endpoint_list); 158 159 /* Remove from the hardware queue */ 159 if ( list_first(&instance->endpoint_list) == &ep->eplist_link) {160 if (!prev_link) { 160 161 /* I'm the first one here */ 161 162 prev_ed = instance->list_head; … … 163 164 } else { 164 165 ohci_endpoint_t *prev = 165 list_get_instance( ep->eplist_link.prev, ohci_endpoint_t, eplist_link);166 list_get_instance(prev_link, ohci_endpoint_t, eplist_link); 166 167 prev_ed = prev->ed; 167 168 qpos = "NOT FIRST";
Note:
See TracChangeset
for help on using the changeset viewer.