1
0
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:
Oleksandr Tymoshenko 2009-05-23 06:30:03 +00:00
parent 58f0ea3143
commit 41917f9933
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=192624

View File

@ -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);
}