summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-21 15:42:03 -0700
committerqcabuildsw <qcabuildsw@localhost>2017-03-24 19:07:22 -0700
commit7c8d7b01c6c6cdcad6541a0a66034739357f1630 (patch)
tree5766ce39c0f7ff51789033f2fc9d90e4fce56674
parentf482f7971253701323021fee1415cda90cef586f (diff)
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: 2023415
-rw-r--r--core/sap/src/sap_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c
index 240f3f42d477..26edea78be41 100644
--- a/core/sap/src/sap_fsm.c
+++ b/core/sap/src/sap_fsm.c
@@ -2084,7 +2084,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];