qcacld-3.0: Add QDF mem API's
Replace CDF mem API's with QDF mem API's
Change-Id: Icf247b4dc5b26f4b960dcb98e323b096c1d6076c
CRs-Fixed: 981188
diff --git a/core/hdd/src/wlan_hdd_conc_ut.c b/core/hdd/src/wlan_hdd_conc_ut.c
index 1a9354e..8b7882e 100644
--- a/core/hdd/src/wlan_hdd_conc_ut.c
+++ b/core/hdd/src/wlan_hdd_conc_ut.c
@@ -151,7 +151,7 @@
{
uint32_t idx = 0;
while (idx < NUMBER_OF_SCENARIO) {
- cdf_mem_zero(&report[idx], sizeof(struct report_t));
+ qdf_mem_zero(&report[idx], sizeof(struct report_t));
idx++;
}
report_idx = 0;
@@ -229,12 +229,12 @@
MAX_ALLOWED_CHAR_IN_REPORT,
reason);
if (pcl) {
- cdf_mem_zero(report[report_idx].pcl,
+ qdf_mem_zero(report[report_idx].pcl,
sizeof(report[report_idx].pcl));
for (i = 0; i < MAX_NUM_CHAN; i++) {
if (pcl[i] == 0)
break;
- cdf_mem_zero(buf, sizeof(buf));
+ qdf_mem_zero(buf, sizeof(buf));
snprintf(buf, sizeof(buf), "%d ", pcl[i]);
strlcat(report[report_idx].pcl, buf,
sizeof(report[report_idx].pcl));
@@ -646,7 +646,7 @@
FL("Test failed - No. of connection is not 0"));
return;
}
- cdf_mem_zero(pcl, sizeof(pcl));
+ qdf_mem_zero(pcl, sizeof(pcl));
pcl_len = 0;
pcl_type = get_pcl_from_first_conn_table(sub_type, system_pref);
@@ -717,7 +717,7 @@
next_sub_type++;
continue;
}
- cdf_mem_zero(pcl, sizeof(pcl));
+ qdf_mem_zero(pcl, sizeof(pcl));
pcl_len = 0;
pcl_type = get_pcl_from_second_conn_table(second_index,
next_sub_type, system_pref,
@@ -830,7 +830,7 @@
next_sub_type++;
continue;
}
- cdf_mem_zero(pcl, sizeof(pcl));
+ qdf_mem_zero(pcl, sizeof(pcl));
pcl_len = 0;
pcl_type =
get_pcl_from_third_conn_table(