- 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

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