ohci: Fix bug in ed removal

This commit is contained in:
Ryan Wendland 2022-06-04 22:40:06 +09:30
parent 3aede1ddf2
commit a709d34ecb
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ static void ed_list_remove_by_addr(ohci_ed_t * p_head, uint8_t dev_addr)
// point the removed ED's next pointer to list head to make sure HC can always safely move away from this ED
ed->next = (uint32_t) p_head;
ed->used = 0;
continue;
}
// check next valid since we could remove it