Forráskód Böngészése

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
Houston Hoffman 8 éve
szülő
commit
be58cc5b8b
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      core/cds/src/cds_api.c

+ 2 - 0
core/cds/src/cds_api.c

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