summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjunathappa Prakash <prakashpm@codeaurora.org>2017-01-30 16:31:40 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-01-31 07:42:52 -0800
commitf981fa04a3f831ecdb8ea87b008e74414965a7ed (patch)
tree46f954f2202dbb3a9ce666fbc2d3a9af6d715c22
parent4cf3a506865b4aa04556c33e2bd7cc2fada5fa93 (diff)
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
-rw-r--r--core/hdd/src/wlan_hdd_main.c2
1 files changed, 1 insertions, 1 deletions
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) {