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:

committed by
qcabuildsw

parent
5195c1b0d6
commit
be58cc5b8b
@@ -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__);
|
||||||
|
Reference in New Issue
Block a user