qcacmn: Fix build error for telemetry stats
With WIFI_MONITOR_SUPPORT=n and WLAN_TELEMETRY_STATS_SUPPORT=n, declaration of struct cdp_peer_telemetry_stats within function dp_monitor_peer_telemetry_stats is not visible. Hence add WLAN_TELEMETRY_STATS_SUPPORT feature flag for function dp_monitor_peer_telemetry_stats when WIFI_MONITOR_SUPPORT=n. Change-Id: I2e4a789552296361c189552707d3e3c441a042e3 CRs-Fixed: 3310407
This commit is contained in:

committed by
Madan Koyyalamudi

parent
a55da582be
commit
ca6127c6de
@@ -920,12 +920,14 @@ dp_mon_rx_wmask_subscribe(struct dp_soc *soc, uint32_t *msg_word,
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WLAN_TELEMETRY_STATS_SUPPORT
|
||||||
static inline
|
static inline
|
||||||
void dp_monitor_peer_telemetry_stats(struct dp_peer *peer,
|
void dp_monitor_peer_telemetry_stats(struct dp_peer *peer,
|
||||||
struct cdp_peer_telemetry_stats *stats)
|
struct cdp_peer_telemetry_stats *stats)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* WLAN_TELEMETRY_STATS_SUPPORT */
|
||||||
|
#endif /* !WIFI_MONITOR_SUPPORT */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cdp_soc_t_to_dp_soc() - typecast cdp_soc_t to
|
* cdp_soc_t_to_dp_soc() - typecast cdp_soc_t to
|
||||||
|
Reference in New Issue
Block a user