mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFNetBSD: (partial 1.133)
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race condition. Approved by: re (rwatson)
This commit is contained in:
parent
2c123d54ee
commit
85105890c2
1 changed files with 2 additions and 0 deletions
|
|
@ -2175,6 +2175,8 @@ ohci_close_pipe(usbd_pipe_handle pipe, ohci_soft_ed_t *head)
|
|||
}
|
||||
#endif
|
||||
ohci_rem_ed(sed, head);
|
||||
/* Make sure the host controller is not touching this ED */
|
||||
usb_delay_ms(&sc->sc_bus, 1);
|
||||
splx(s);
|
||||
ohci_free_sed(sc, opipe->sed);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue