summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@qti.qualcomm.com>2015-11-24 12:36:05 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-11-25 12:50:10 +0530
commitf05acf857a6918503faac6975fed3ce25ff0b0e9 (patch)
tree673e01a1b5c794c9398f691733e51aa6dbf35177
parent4632a564d6d66f11088f1d69f249789927e7c4d1 (diff)
qcacld-2.0: Free Runtime Context during Shutdown
After SSR, Memory Leaks are observed on driver unload. Runtime Context is not freed during SSR, hence the memory leaks. Free the Runtime context during shutdown to fix this. Change-Id: I5088d84f87f4fe8f47bd5a190d9beec5e462dcfb CRs-Fixed: 943209
-rw-r--r--CORE/HDD/src/wlan_hdd_early_suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index c8076fcaab1b..48516a44759e 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -1845,7 +1845,7 @@ VOS_STATUS hdd_wlan_shutdown(void)
}
#endif
- hdd_runtime_suspend_init(pHddCtx);
+ hdd_runtime_suspend_deinit(pHddCtx);
hdd_reset_all_adapters(pHddCtx);
#ifdef IPA_UC_OFFLOAD