mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
- Wrong logical operator was used for flag check
This commit is contained in:
parent
58f0ea3143
commit
41917f9933
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=192624
@ -1480,7 +1480,7 @@ arge_rx_intr(struct arge_softc *sc, uint32_t status)
|
||||
|
||||
/* RX overrun disables the receiver. Clear indication and
|
||||
re-enable rx. */
|
||||
if ( status | DMA_INTR_RX_OVERFLOW) {
|
||||
if ( status & DMA_INTR_RX_OVERFLOW) {
|
||||
ARGE_WRITE(sc, AR71XX_DMA_RX_STATUS, DMA_RX_STATUS_OVERFLOW);
|
||||
ARGE_WRITE(sc, AR71XX_DMA_RX_CONTROL, DMA_RX_CONTROL_EN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user