Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 05:14:51 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270992 - head/sys/dev/usb/net
Message-ID:  <201409030514.s835EpmF098396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Sep  3 05:14:50 2014
New Revision: 270992
URL: http://svnweb.freebsd.org/changeset/base/270992

Log:
  Fix logical error.
  
  MFC after:	3 days

Modified:
  head/sys/dev/usb/net/if_aue.c

Modified: head/sys/dev/usb/net/if_aue.c
==============================================================================
--- head/sys/dev/usb/net/if_aue.c	Wed Sep  3 00:32:19 2014	(r270991)
+++ head/sys/dev/usb/net/if_aue.c	Wed Sep  3 05:14:50 2014	(r270992)
@@ -749,7 +749,7 @@ aue_intr_callback(struct usb_xfer *xfer,
 
 			if (pkt.aue_txstat0)
 				ifp->if_oerrors++;
-			if (pkt.aue_txstat0 & (AUE_TXSTAT0_LATECOLL &
+			if (pkt.aue_txstat0 & (AUE_TXSTAT0_LATECOLL |
 			    AUE_TXSTAT0_EXCESSCOLL))
 				ifp->if_collisions++;
 		}



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