소스 검색

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