From 2d0f2194798ddc1d4f6c04c80eb6c989abc6bd5e Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 18 Oct 2017 19:48:21 -0700 Subject: [PATCH] qcacld-3.0: Deinit QDF print infra after printing memory leak objects Deinit QDF print infra after printing leaked objects such that leak objects detail gets logged before QDF print infra is destroyed. Change-Id: I55494de6253c0409c8156a838b28bcc20a60913b CRs-Fixed: 2129306 --- core/hdd/src/wlan_hdd_main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 1046c9a21eb2..1504059f4e19 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -11054,14 +11054,13 @@ void hdd_deinit(void) hdd_deinit_wowl(); qdf_timer_free(&hdd_drv_ops_inactivity_timer); - hdd_qdf_print_deinit(); + wlan_destroy_bug_report_lock(); + cds_deinit(); + hdd_qdf_print_deinit(); #ifdef WLAN_LOGGING_SOCK_SVC_ENABLE wlan_logging_sock_deinit_svc(); #endif - - wlan_destroy_bug_report_lock(); - cds_deinit(); } #ifdef QCA_WIFI_NAPIER_EMULATION