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]++;
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"