qcacmn: Cleanup CONFIG_MCL for pktlog related code

Replace macro CONFIG_MCL with FEATURE_PKTLOG for
pktlog related code.

Add some macro changes to ensure the following 3
functions' declarations are enclosed by the right
macros:

wlan_deregister_txrx_packetdump
wlan_register_txrx_packetdump
wlan_pkt_stats_to_logger_thread

Change-Id: I900de3be28faee8403923a5e4bd326e69895d998
CRs-Fixed: 2406250
This commit is contained in:
wadesong
2019-06-28 14:34:18 +08:00
committed by nshrivas
parent 5936495779
commit 9b220a6ec6
2 changed files with 7 additions and 5 deletions

View File

@@ -1146,7 +1146,7 @@ void wlan_flush_host_logs_for_fatal(void)
#endif
}
#ifdef CONFIG_MCL
#ifdef FEATURE_PKTLOG
#ifndef REMOVE_PKT_LOG
static uint8_t gtx_count;
@@ -1532,5 +1532,5 @@ void wlan_register_txrx_packetdump(void)
grx_count = 0;
}
#endif /* REMOVE_PKT_LOG */
#endif /* CONFIG_MCL */
#endif /* FEATURE_PKTLOG */
#endif /* WLAN_LOGGING_SOCK_SVC_ENABLE */