qcacmn: Remove cds_get_context in HIF
Refactor Transport Layer from cds_get_context and pass the hif context
to all the API's to operate.
Change-Id: I1dedda76357f844e08fd422bf9eb15af70587eae
CRs-Fixed: 967765
diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c
index 7316b5c..54ef56e 100644
--- a/hif/src/ce/ce_main.c
+++ b/hif/src/ce/ce_main.c
@@ -1848,7 +1848,7 @@
scn->notice_send = true;
cdf_mem_zero(&soc_info, sizeof(soc_info));
- ret = icnss_get_soc_info(&soc_info);
+ ret = icnss_get_soc_info(scn, &soc_info);
if (ret < 0) {
HIF_ERROR("%s: icnss_get_soc_info error = %d", __func__, ret);
return CDF_STATUS_NOT_INITIALIZED;
@@ -1957,7 +1957,7 @@
if (rv != CDF_STATUS_SUCCESS)
goto err;
else
- init_tasklet_workers();
+ init_tasklet_workers(scn);
HIF_TRACE("%s: X, ret = %d\n", __func__, rv);