svn commit: r301182 - head/sys/dev/ath

George V. Neville-Neil gnn at FreeBSD.org
Thu Jun 2 01:59:43 UTC 2016


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;


More information about the svn-src-all mailing list