Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
02a1f113c8
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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);