qcacmn: Fix CP_STATS rx_ops registration
Fix CP_STATS rx_ops registration in wlan_lmac_if.c, by including dispatcher header and directly referencing public dispatcher tgt APIs. Change-Id: Id42aac8d2a7f1311d4319c77db05eadd75ee4aa0 CRs-Fixed: 2228934
This commit is contained in:
@@ -23,9 +23,19 @@
|
||||
*/
|
||||
#ifndef __WLAN_CP_STATS_TGT_API_H__
|
||||
#define __WLAN_CP_STATS_TGT_API_H__
|
||||
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
#include <wlan_lmac_if_def.h>
|
||||
#include <wlan_objmgr_cmn.h>
|
||||
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
/**
|
||||
* tgt_cp_stats_register_rx_ops(): API to register rx ops with lmac
|
||||
* @rx_ops: rx ops struct
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void tgt_cp_stats_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops);
|
||||
#else
|
||||
static inline void tgt_cp_stats_register_rx_ops(
|
||||
struct wlan_lmac_if_rx_ops *rx_ops) {}
|
||||
#endif /* QCA_SUPPORT_CP_STATS */
|
||||
#endif /* __WLAN_CP_STATS_TGT_API_H__ */
|
||||
|
Reference in New Issue
Block a user