Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 06:56:10 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r271357 - stable/8/sys/dev/usb/net
Message-ID:  <201409100656.s8A6uAtn067920@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Sep 10 06:56:09 2014
New Revision: 271357
URL: http://svnweb.freebsd.org/changeset/base/271357

Log:
  MFC r270992:
  Fix logical error.

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

Modified: stable/8/sys/dev/usb/net/if_aue.c
==============================================================================
--- stable/8/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:54:05 2014	(r271356)
+++ stable/8/sys/dev/usb/net/if_aue.c	Wed Sep 10 06:56:09 2014	(r271357)
@@ -747,7 +747,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?201409100656.s8A6uAtn067920>