Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic PR/50926: David Binderman: Fix wrong paren



details:   https://anonhg.NetBSD.org/src/rev/ad880b28c290
branches:  trunk
changeset: 344014:ad880b28c290
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 09 20:06:31 2016 +0000

description:
PR/50926: David Binderman: Fix wrong paren

diffstat:

 sys/dev/ic/arn5008.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7d1aa98d0c37 -r ad880b28c290 sys/dev/ic/arn5008.c
--- a/sys/dev/ic/arn5008.c      Wed Mar 09 20:02:33 2016 +0000
+++ b/sys/dev/ic/arn5008.c      Wed Mar 09 20:06:31 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arn5008.c,v 1.9 2015/05/30 00:56:42 jmcneill Exp $     */
+/*     $NetBSD: arn5008.c,v 1.10 2016/03/09 20:06:31 christos Exp $    */
 /*     $OpenBSD: ar5008.c,v 1.21 2012/08/25 12:14:31 kettenis Exp $    */
 
 /*-
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arn5008.c,v 1.9 2015/05/30 00:56:42 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arn5008.c,v 1.10 2016/03/09 20:06:31 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/sockio.h>
@@ -2020,7 +2020,7 @@
                if (cal->pwr_meas_q == 0)
                        continue;
 
-               if ((iq_corr_neg = cal->iq_corr_meas < 0))
+               if ((iq_corr_neg = cal->iq_corr_meas) < 0)
                        cal->iq_corr_meas = -cal->iq_corr_meas;
 
                i_coff_denom =



Home | Main Index | Thread Index | Old Index