From f10a42e811a8b9c6549286c568829ebddd8bd618 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Tue, 21 Mar 2017 15:42:03 -0700 Subject: [PATCH] qcacld-3.0: Fix the variable uninitialized compile error This is a qcacld-2.0 to qcacld-3.0 propagation. Fix the variable uninitialized compile error. Change-Id: I941d76a75a52b4cc6bd3de831b04f960f506f802 CRs-Fixed: 2022835 --- core/sap/src/sap_fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index abc058583735..1868656538ed 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -2091,7 +2091,7 @@ sap_dfs_is_channel_in_nol_list(ptSapContext sap_context, uint8_t channel_number, ePhyChanBondState chan_bondState) { - int i, j; + int i = 0, j; tHalHandle h_hal = CDS_GET_HAL_CB(sap_context->p_cds_gctx); tpAniSirGlobal mac_ctx; uint8_t channels[MAX_BONDED_CHANNELS];