Browse Source

qcacld-3.0: add enter/exit logs for some functions

Add enter/exit logs for hdd_psoc_shutdown_notify() and
hdd_soc_recovery_cleanup().

Change-Id: Idf80f84d0bda8de57bc094556fb572b13cb6fc5e
CRs-Fixed: 3410104
Yu Wang 2 years ago
parent
commit
27b170d4e5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      core/hdd/src/wlan_hdd_driver_ops.c

+ 4 - 0
core/hdd/src/wlan_hdd_driver_ops.c

@@ -942,6 +942,7 @@ static void hdd_send_hang_data(uint8_t *data, size_t data_len)
  */
 static void hdd_psoc_shutdown_notify(struct hdd_context *hdd_ctx)
 {
+	hdd_enter();
 	wlan_cfg80211_cleanup_scan_queue(hdd_ctx->pdev, NULL);
 
 	if (ucfg_ipa_is_enabled()) {
@@ -956,6 +957,7 @@ static void hdd_psoc_shutdown_notify(struct hdd_context *hdd_ctx)
 	cds_shutdown_notifier_purge();
 
 	hdd_wlan_ssr_shutdown_event();
+	hdd_exit();
 }
 
 /**
@@ -971,6 +973,7 @@ static void hdd_soc_recovery_cleanup(void)
 {
 	struct hdd_context *hdd_ctx;
 
+	hdd_enter();
 	hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx)
 		return;
@@ -991,6 +994,7 @@ static void hdd_soc_recovery_cleanup(void)
 	}
 
 	hdd_psoc_shutdown_notify(hdd_ctx);
+	hdd_exit();
 }
 
 static void __hdd_soc_recovery_shutdown(void)