svn commit: r271356 - stable/9/sys/dev/usb/net

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


Author: hselasky
Date: Wed Sep 10 06:54:05 2014
New Revision: 271356
URL: http://svnweb.freebsd.org/changeset/base/271356

Log:
  MFC r270992:
  Fix logical error.

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

Modified: stable/9/sys/dev/usb/net/if_aue.c
==============================================================================
--- stable/9/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:48:23 2014	(r271355)
+++ stable/9/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:54:05 2014	(r271356)
@@ -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-stable-9 mailing list