qcacmn: fix compilation issue if WIFI_MONITOR_SUPPORT disabled
fix compilation issue if WIFI_MONITOR_SUPPORT is not enabled. Change-Id: I6ea15fc0729bc0c999c6f10691200958e538bf79 CRs-Fixed: 3315379
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ef34b5b9ab
commit
abbf1c968a
@@ -259,8 +259,22 @@ dp_get_mcs_array_index_by_pkt_type_mcs(uint32_t pkt_type, uint32_t mcs)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIFI_MONITOR_SUPPORT
|
||||||
QDF_STATUS dp_mon_soc_attach(struct dp_soc *soc);
|
QDF_STATUS dp_mon_soc_attach(struct dp_soc *soc);
|
||||||
QDF_STATUS dp_mon_soc_detach(struct dp_soc *soc);
|
QDF_STATUS dp_mon_soc_detach(struct dp_soc *soc);
|
||||||
|
#else
|
||||||
|
static inline
|
||||||
|
QDF_STATUS dp_mon_soc_attach(struct dp_soc *soc)
|
||||||
|
{
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline
|
||||||
|
QDF_STATUS dp_mon_soc_detach(struct dp_soc *soc)
|
||||||
|
{
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* dp_rx_err_match_dhost() - function to check whether dest-mac is correct
|
* dp_rx_err_match_dhost() - function to check whether dest-mac is correct
|
||||||
|
Reference in New Issue
Block a user