From e2c45a9aa6d33aa3676b454864207a53b26d9c1d Mon Sep 17 00:00:00 2001 From: Krunal Soni Date: Thu, 3 May 2018 11:51:26 -0700 Subject: [PATCH] qcacld-3.0: Fix uninitialized variable in lim_handle_csa_offload_msg() Fix uinitialized variable in lim_handle_csa_offload_msg() API. CRs-Fixed: 2232736 Change-Id: Ie9e918780af2407796359cfc293bf227a69385b2 --- core/mac/src/pe/lim/lim_send_sme_rsp_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c index 53f7512ec234..2cca3084fd33 100644 --- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c +++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c @@ -1942,7 +1942,7 @@ void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx, uint8_t session_id; uint16_t aid = 0; uint16_t chan_space = 0; - struct ch_params ch_params; + struct ch_params ch_params = {0}; tLimWiderBWChannelSwitchInfo *chnl_switch_info = NULL; tLimChannelSwitchInfo *lim_ch_switch = NULL;