mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Clear all interrupts rather than just SETUP packet.
Submitted by: Hans Petter Selasky
This commit is contained in:
parent
2094ecda08
commit
33ea13230a
1 changed files with 2 additions and 2 deletions
|
|
@ -301,8 +301,8 @@ atmegadci_setup_rx(struct atmegadci_td *td)
|
|||
sc->sc_dv_addr = 0xFF;
|
||||
}
|
||||
|
||||
/* clear SETUP packet interrupt */
|
||||
ATMEGA_WRITE_1(sc, ATMEGA_UEINTX, ~ATMEGA_UEINTX_RXSTPI);
|
||||
/* Clear SETUP packet interrupt and all other previous interrupts */
|
||||
ATMEGA_WRITE_1(sc, ATMEGA_UEINTX, 0);
|
||||
return (0); /* complete */
|
||||
|
||||
not_complete:
|
||||
|
|
|
|||
Loading…
Reference in a new issue