Date: Thu, 5 Jul 2018 21:38:54 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336016 - head/sys/dev/ath Message-ID: <201807052138.w65LcsWZ098142@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Thu Jul 5 21:38:54 2018 New Revision: 336016 URL: https://svnweb.freebsd.org/changeset/base/336016 Log: ath(4): Fix typo in debugging code PR: 229548 Submitted by: David Binderman <dcb314 AT hotmail.com> Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Thu Jul 5 20:20:06 2018 (r336015) +++ head/sys/dev/ath/if_ath.c Thu Jul 5 21:38:54 2018 (r336016) @@ -2151,7 +2151,7 @@ ath_intr(void *arg) if (ah->ah_syncstate != 0) { int i; for (i = 0; i < 32; i++) - if (ah->ah_syncstate & (i << i)) + if (ah->ah_syncstate & (1 << i)) sc->sc_intr_stats.sync_intr[i]++; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807052138.w65LcsWZ098142>