qcacmn: Fix opt dpath compilation error for OWRT SI
Currently, there is a compilation error on the OWRT SI in the alternate code path when optional dp feature is not enabled. The caller wlan_ipa_wdi_init_set_opt_wifi_dp() passes an argument of incompatible type. This change fixes the compilation issue. Change-Id: I1f2eecbb67bfb2ef17ee73ce2faedb85827b4bbc CRs-Fixed: 3417214
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0103de1889
commit
a33b4b04bb
@@ -15155,7 +15155,7 @@ static struct cdp_ipa_ops dp_ops_ipa = {
|
||||
#endif
|
||||
#ifdef IPA_OPT_WIFI_DP
|
||||
.ipa_rx_super_rule_setup = dp_ipa_rx_super_rule_setup,
|
||||
.ipa_pcie_link_up = dp_ipa_pcie_link,
|
||||
.ipa_pcie_link_up = dp_ipa_pcie_link_up,
|
||||
.ipa_pcie_link_down = dp_ipa_pcie_link_down,
|
||||
#endif
|
||||
#ifdef IPA_WDS_EASYMESH_FEATURE
|
||||
|
@@ -649,15 +649,15 @@ static inline void wlan_ipa_wdi_init_metering(struct wlan_ipa_priv *ipa_ctxt,
|
||||
*/
|
||||
static inline void wlan_ipa_wdi_init_set_opt_wifi_dp(
|
||||
struct wlan_ipa_priv *ipa_ctxt,
|
||||
qdf_ipa_wdi_init_out_params_t out)
|
||||
qdf_ipa_wdi_init_out_params_t *out)
|
||||
{
|
||||
ipa_ctx->opt_wifi_datapath =
|
||||
QDF_IPA_WDI_INIT_OUT_PARAMS_OPT_WIFI_DP(&out);
|
||||
QDF_IPA_WDI_INIT_OUT_PARAMS_OPT_WIFI_DP(out);
|
||||
}
|
||||
#else
|
||||
static inline void wlan_ipa_wdi_init_set_opt_wifi_dp(
|
||||
struct wlan_ipa_priv *ipa_ctxt,
|
||||
qdf_ipa_wdi_init_out_params_t out)
|
||||
qdf_ipa_wdi_init_out_params_t *out)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user