浏览代码

qcacld-3.0: Stop replenish timer during recovery

During recovery, when this timer is started, there is no
stop operation. If the timer is triggered and SSR is not
completed, it will visit re-inited data structure and lead
kernel crash.

Change-Id: I81b20c1cc9c66efb3f334a17f38613a116aeaf9e
CRs-fixed: 3101872
Yu Tian 3 年之前
父节点
当前提交
fb5d4a46c4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/cds/src/cds_api.c

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

@@ -84,6 +84,7 @@
 #include <qdf_notifier.h>
 #include <qwlan_version.h>
 #include <qdf_trace.h>
+#include <qdf_nbuf.h>
 
 /* Preprocessor Definitions and Constants */
 
@@ -1452,6 +1453,8 @@ QDF_STATUS cds_dp_close(struct wlan_objmgr_psoc *psoc)
 {
 	cdp_txrx_intr_detach(gp_cds_context->dp_soc);
 
+	qdf_nbuf_stop_replenish_timer();
+
 	dp_txrx_deinit(cds_get_context(QDF_MODULE_ID_SOC));
 
 	cdp_pdev_deinit(cds_get_context(QDF_MODULE_ID_SOC), OL_TXRX_PDEV_ID, 1);