qcacld-3.0: do cdp_soc_detach in cds_close

Without doing cdp_soc_detach, datapth interrupts
would fire after the driver is unloaded and the
handlers have been removed from memory.

Change-Id: Ifad17059fa6f4b5957533defccc3126c15e55360
CRs-Fixed: 1103147
This commit is contained in:
Houston Hoffman
2016-12-19 16:26:44 -08:00
committed by qcabuildsw
parent 5195c1b0d6
commit be58cc5b8b

View File

@@ -959,6 +959,8 @@ QDF_STATUS cds_close(v_CONTEXT_t cds_context)
((p_cds_contextType) cds_context)->pMACContext = NULL; ((p_cds_contextType) cds_context)->pMACContext = NULL;
cdp_soc_detach(gp_cds_context->dp_soc);
if (true == wma_needshutdown(cds_context)) { if (true == wma_needshutdown(cds_context)) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
"%s: Failed to shutdown wma", __func__); "%s: Failed to shutdown wma", __func__);