소스 검색

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 8 년 전
부모
커밋
71844ea2cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);