Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2016 01:59:42 +0000 (UTC)
From:      "George V. Neville-Neil" <gnn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301182 - head/sys/dev/ath
Message-ID:  <201606020159.u521xgqT041246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606020159.u521xgqT041246>