From owner-svn-src-all@freebsd.org Thu Jun 2 01:59:43 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AF90B66425; Thu, 2 Jun 2016 01:59:43 +0000 (UTC) (envelope-from gnn@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 mx1.freebsd.org (Postfix) with ESMTPS id EF36C1866; Thu, 2 Jun 2016 01:59:42 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u521xgEe041247; Thu, 2 Jun 2016 01:59:42 GMT (envelope-from gnn@FreeBSD.org) Received: (from gnn@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u521xgqT041246; Thu, 2 Jun 2016 01:59:42 GMT (envelope-from gnn@FreeBSD.org) Message-Id: <201606020159.u521xgqT041246@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gnn set sender to gnn@FreeBSD.org using -f From: "George V. Neville-Neil" Date: Thu, 2 Jun 2016 01:59:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301182 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 02 Jun 2016 01:59:43 -0000 Author: gnn Date: Thu Jun 2 01:59:41 2016 New Revision: 301182 URL: https://svnweb.freebsd.org/changeset/base/301182 Log: Fix kernel build. Improper definition location of a variable. Modified: head/sys/dev/ath/if_ath_btcoex_mci.c Modified: head/sys/dev/ath/if_ath_btcoex_mci.c ============================================================================== --- head/sys/dev/ath/if_ath_btcoex_mci.c Thu Jun 2 00:51:36 2016 (r301181) +++ head/sys/dev/ath/if_ath_btcoex_mci.c Thu Jun 2 01:59:41 2016 (r301182) @@ -436,6 +436,7 @@ ath_btcoex_mci_intr(struct ath_softc *sc uint32_t offset, subtype, opcode; uint32_t *pGpm; uint32_t more_data = HAL_MCI_GPM_MORE; + int8_t value_dbm; bool skip_gpm = false; DPRINTF(sc, ATH_DEBUG_BTCOEX, "%s: called\n", __func__); @@ -607,7 +608,7 @@ ath_btcoex_mci_intr(struct ath_softc *sc DPRINTF(sc, ATH_DEBUG_BTCOEX, "(MCI) LNA_INFO\n"); } if (mciIntRxMsg & HAL_MCI_INTERRUPT_RX_MSG_CONT_INFO) { - int8_t value_dbm = ath_hal_btcoex_mci_state(sc->sc_ah, + value_dbm = ath_hal_btcoex_mci_state(sc->sc_ah, HAL_MCI_STATE_CONT_RSSI_POWER, NULL); mciIntRxMsg &= ~HAL_MCI_INTERRUPT_RX_MSG_CONT_INFO;