summaryrefslogtreecommitdiff
path: root/core/utils/epping
diff options
context:
space:
mode:
authorPrashanth Bhatta <bhattap@qca.qualcomm.com>2015-11-30 14:28:52 -0800
committerSatish Singh <ssing@codeaurora.org>2015-12-28 22:35:55 -0800
commit5da711e71279023298cbfa243f44a98caa5b0b40 (patch)
tree081afffa25b609d38e2105fa808eee29316b177a /core/utils/epping
parent05aaf0112638c3b94bac0406977ed3c6596edc28 (diff)
qcacld-3.0: Clean-up module init and exit
In module init, bunch of initializations are done which are not required till probe call back gets called. Also in module exit, some clean-up done which should wait till remove call back gets called. Move the initialization done in module init to probe call back and clean-up done in module exit to remove call back. Change-Id: Id4a0cb21300de1ceab8ed043638b735f31d516d4 CRs-fixed: 950170
Diffstat (limited to 'core/utils/epping')
-rw-r--r--core/utils/epping/src/epping_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/utils/epping/src/epping_main.c b/core/utils/epping/src/epping_main.c
index c222c557d938..a625c0b109b5 100644
--- a/core/utils/epping/src/epping_main.c
+++ b/core/utils/epping/src/epping_main.c
@@ -128,6 +128,7 @@ void epping_disable(void)
hif_reset_soc(cds_get_context(CDF_MODULE_ID_HIF));
htc_stop(cds_get_context(CDF_MODULE_ID_HTC));
epping_cookie_cleanup(pEpping_ctx);
+ htc_destroy(cds_get_context(CDF_MODULE_ID_HTC));
}
/**