Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix last change (pa_calib_ticks should be sc_pa_c...



details:   https://anonhg.NetBSD.org/src/rev/446466ed2cb2
branches:  trunk
changeset: 330866:446466ed2cb2
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jul 24 19:47:15 2014 +0000

description:
Fix last change (pa_calib_ticks should be sc_pa_calib_ticks).

diffstat:

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

diffs (27 lines):

diff -r b6e74bb37cfb -r 446466ed2cb2 sys/dev/ic/athn.c
--- a/sys/dev/ic/athn.c Thu Jul 24 19:22:18 2014 +0000
+++ b/sys/dev/ic/athn.c Thu Jul 24 19:47:15 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: athn.c,v 1.9 2014/07/24 17:35:10 christos Exp $        */
+/*     $NetBSD: athn.c,v 1.10 2014/07/24 19:47:15 riz Exp $    */
 /*     $OpenBSD: athn.c,v 1.83 2014/07/22 13:12:11 mpi Exp $   */
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: athn.c,v 1.9 2014/07/24 17:35:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: athn.c,v 1.10 2014/07/24 19:47:15 riz Exp $");
 
 #ifndef _MODULE
 #include "athn_usb.h"          /* for NATHN_USB */
@@ -1260,7 +1260,7 @@
        /* Do periodic (every 4 minutes) PA calibration. */
        if (AR_SREV_9285_11_OR_LATER(sc) &&
            !AR_SREV_9380_10_OR_LATER(sc) &&
-           (ticks - (sc->pa_calib_ticks + 240 * hz)) >= 0) {
+           (ticks - (sc->sc_pa_calib_ticks + 240 * hz)) >= 0) {
                sc->sc_pa_calib_ticks = ticks;
                if (AR_SREV_9271(sc))
                        ar9271_pa_calib(sc);



Home | Main Index | Thread Index | Old Index