Преглед на файлове

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);