From owner-svn-src-head@freebsd.org Thu Jul 5 21:38:55 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 919D51033C83; Thu, 5 Jul 2018 21:38:55 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43D8F77A2D; Thu, 5 Jul 2018 21:38:55 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 20D1E1F900; Thu, 5 Jul 2018 21:38:55 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w65LcsuU098143; Thu, 5 Jul 2018 21:38:54 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w65LcsWZ098142; Thu, 5 Jul 2018 21:38:54 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201807052138.w65LcsWZ098142@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Thu, 5 Jul 2018 21:38:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336016 - head/sys/dev/ath X-SVN-Group: head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: head/sys/dev/ath X-SVN-Commit-Revision: 336016 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 21:38:55 -0000 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 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]++; }