Ver Fonte

qcacld-3.0: Move IPA SSR deinit after CDS Sched close

Fix crash due to race condition between MC thread and shutdown
sequence worker thread by moving IPA SSR deinit after MC thread
shutdown.

Change-Id: Id9ee6de5b176e302f865ab959aca29fb708dd6bc
CRs-fixed: 2071804
Manikandan Mohan há 7 anos atrás
pai
commit
71844ea2cb
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      core/hdd/src/wlan_hdd_power.c

+ 1 - 1
core/hdd/src/wlan_hdd_power.c

@@ -1268,7 +1268,6 @@ QDF_STATUS hdd_wlan_shutdown(void)
 	hdd_debug("Invoking packetdump deregistration API");
 	wlan_deregister_txrx_packetdump();
 	wlan_cfg80211_cleanup_scan_queue(pHddCtx->hdd_pdev);
-	hdd_ipa_uc_ssr_deinit();
 	hdd_reset_all_adapters(pHddCtx);
 
 	/* Flush cached rx frame queue */
@@ -1297,6 +1296,7 @@ QDF_STATUS hdd_wlan_shutdown(void)
 		QDF_ASSERT(false);
 	}
 
+	hdd_ipa_uc_ssr_deinit();
 	qdf_mc_timer_stop(&pHddCtx->tdls_source_timer);
 
 	hdd_bus_bandwidth_destroy(pHddCtx);