From f981fa04a3f831ecdb8ea87b008e74414965a7ed Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Mon, 30 Jan 2017 16:31:40 -0800 Subject: qcacld-3.0: Initialize the struct cds_dp_cbacks Initialize struct cds_dp_cbacks to NULL in hdd_configure_cds(). Change-Id: Ib6a15c8f461db67324b65a53086f15c2836ecf8e CRs-Fixed: 2000185 --- core/hdd/src/wlan_hdd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 6ca104e64188..1c51e34d89b5 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7884,7 +7884,7 @@ int hdd_configure_cds(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter) struct cds_sme_cbacks sme_cbacks; /* structure of datapath function pointers to be used by CDS */ - struct cds_dp_cbacks dp_cbacks; + struct cds_dp_cbacks dp_cbacks = {0}; ret = hdd_pre_enable_configure(hdd_ctx); if (ret) { -- cgit v1.2.3