Skip to content

Commit cc9c3fe

Browse files
committed
ohci: Fix bug in ed removal
1 parent e89e8ba commit cc9c3fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/portable/ohci/ohci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ static void ed_list_remove_by_addr(ohci_ed_t * p_head, uint8_t dev_addr)
383383
// point the removed ED's next pointer to list head to make sure HC can always safely move away from this ED
384384
ed->next = (uint32_t) p_head;
385385
ed->used = 0;
386+
continue;
386387
}
387388

388389
// check next valid since we could remove it

0 commit comments

Comments
 (0)