From owner-svn-src-all@FreeBSD.ORG Fri Oct 5 16:44:01 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAFAD1065716; Fri, 5 Oct 2012 16:44:01 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8EB478FC14; Fri, 5 Oct 2012 16:44:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q95Gi1wM003600; Fri, 5 Oct 2012 16:44:01 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q95Gi1j0003598; Fri, 5 Oct 2012 16:44:01 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201210051644.q95Gi1j0003598@svn.freebsd.org> From: Adrian Chadd Date: Fri, 5 Oct 2012 16:44:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r241229 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 16:44:01 -0000 Author: adrian Date: Fri Oct 5 16:44:00 2012 New Revision: 241229 URL: http://svn.freebsd.org/changeset/base/241229 Log: Initialise an uninitialised variable. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Fri Oct 5 15:52:31 2012 (r241228) +++ head/sys/dev/ath/if_ath.c Fri Oct 5 16:44:00 2012 (r241229) @@ -4350,7 +4350,7 @@ ath_calibrate(void *arg) struct ath_hal *ah = sc->sc_ah; struct ifnet *ifp = sc->sc_ifp; struct ieee80211com *ic = ifp->if_l2com; - HAL_BOOL longCal, isCalDone; + HAL_BOOL longCal, isCalDone = AH_TRUE; HAL_BOOL aniCal, shortCal = AH_FALSE; int nextcal; @@ -4400,6 +4400,7 @@ ath_calibrate(void *arg) /* Only call if we're doing a short/long cal, not for ANI calibration */ if (shortCal || longCal) { + isCalDone = AH_FALSE; if (ath_hal_calibrateN(ah, sc->sc_curchan, longCal, &isCalDone)) { if (longCal) { /*