浏览代码

qcacld-3.0: Purge shutdown notifier during modules close

During the driver initialization if there is any issue,
in the error path the shutdown notifiers are not getting freed.

To resolve the issue purge the shutdown notifier before the
stop modules.

Change-Id: I51b20e5cddf558bb366b46f0650ac65754f23dcd
CRs-Fixed: 2761406
Abdul Muqtadeer Ahmed 4 年之前
父节点
当前提交
02a1f113c8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -4071,6 +4071,7 @@ release_lock:
 		hdd_ctx->target_hw_name = NULL;
 	}
 
+	cds_shutdown_notifier_purge();
 	hdd_check_for_leaks(hdd_ctx, reinit);
 	hdd_debug_domain_set(QDF_DEBUG_DOMAIN_INIT);