소스 검색

qcacmn: start packetdump_timer when registering the function

packetdump_timer is stopped when deregistering the
function, to make align, start it when registering.

CRs-Fixed: 2748669
Change-Id: I9d106f81b04011111c4b01e6b6c50403202e7c6e
Yu Wang 4 년 전
부모
커밋
9db6e532fe
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      utils/logging/src/wlan_logging_sock_svc.c

+ 2 - 0
utils/logging/src/wlan_logging_sock_svc.c

@@ -1656,6 +1656,8 @@ void wlan_register_txrx_packetdump(uint8_t pdev_id)
 
 	gtx_count = 0;
 	grx_count = 0;
+
+	csr_packetdump_timer_start();
 }
 #endif /* REMOVE_PKT_LOG */
 #endif /* FEATURE_PKTLOG */