Browse Source

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 years ago
parent
commit
9db6e532fe
1 changed files with 2 additions and 0 deletions
  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 */