diff options
| author | Ryan Wendland <[email protected]> | 2022-06-04 22:40:06 +0930 |
|---|---|---|
| committer | Ryan Wendland <[email protected]> | 2023-02-18 10:24:21 +1030 |
| commit | cc9c3feeaee69b369aea4fb4f70e4f0fb1033990 (patch) | |
| tree | c2133ba678ef81878d8d6b94e1e92fbd06c19d0d /src | |
| parent | e89e8ba392dae795663169d02952116b3f3980f3 (diff) | |
ohci: Fix bug in ed removal
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/ohci/ohci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/ohci/ohci.c b/src/portable/ohci/ohci.c index b0c6bb63c..59ffd2725 100644 --- a/src/portable/ohci/ohci.c +++ b/src/portable/ohci/ohci.c @@ -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 |
