Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2009 06:30:03 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192624 - projects/mips/sys/mips/atheros
Message-ID:  <200905230630.n4N6U3FX046033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Sat May 23 06:30:03 2009
New Revision: 192624
URL: http://svn.freebsd.org/changeset/base/192624

Log:
  - Wrong logical operator was used for flag check

Modified:
  projects/mips/sys/mips/atheros/if_arge.c

Modified: projects/mips/sys/mips/atheros/if_arge.c
==============================================================================
--- projects/mips/sys/mips/atheros/if_arge.c	Sat May 23 04:31:05 2009	(r192623)
+++ projects/mips/sys/mips/atheros/if_arge.c	Sat May 23 06:30:03 2009	(r192624)
@@ -1480,7 +1480,7 @@ arge_rx_intr(struct arge_softc *sc, uint
 
 	/* 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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905230630.n4N6U3FX046033>