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
2017-07-05 21:51:08 -07:00
зафіксовано snandini
джерело 950e541980
коміт 71844ea2cb

Переглянути файл

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