svn commit: r271355 - stable/10/sys/dev/usb/net

Hans Petter Selasky hselasky at FreeBSD.org
Wed Sep 10 06:48:24 UTC 2014


Author: hselasky
Date: Wed Sep 10 06:48:23 2014
New Revision: 271355
URL: http://svnweb.freebsd.org/changeset/base/271355

Log:
  MFC r270992:
  Fix logical error.
  
  Approved by:	re, glebius

Modified:
  stable/10/sys/dev/usb/net/if_aue.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/usb/net/if_aue.c
==============================================================================
--- stable/10/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:35:00 2014	(r271354)
+++ stable/10/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:48:23 2014	(r271355)
@@ -745,7 +745,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++;
 		}


More information about the svn-src-all mailing list