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:
Namita Nair
2023-02-24 13:32:49 -08:00
committed by Madan Koyyalamudi
parent 0103de1889
commit a33b4b04bb
2 changed files with 4 additions and 4 deletions

View File

@@ -15155,7 +15155,7 @@ static struct cdp_ipa_ops dp_ops_ipa = {
#endif #endif
#ifdef IPA_OPT_WIFI_DP #ifdef IPA_OPT_WIFI_DP
.ipa_rx_super_rule_setup = dp_ipa_rx_super_rule_setup, .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, .ipa_pcie_link_down = dp_ipa_pcie_link_down,
#endif #endif
#ifdef IPA_WDS_EASYMESH_FEATURE #ifdef IPA_WDS_EASYMESH_FEATURE

View File

@@ -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( static inline void wlan_ipa_wdi_init_set_opt_wifi_dp(
struct wlan_ipa_priv *ipa_ctxt, 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 = 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 #else
static inline void wlan_ipa_wdi_init_set_opt_wifi_dp( static inline void wlan_ipa_wdi_init_set_opt_wifi_dp(
struct wlan_ipa_priv *ipa_ctxt, struct wlan_ipa_priv *ipa_ctxt,
qdf_ipa_wdi_init_out_params_t out) qdf_ipa_wdi_init_out_params_t *out)
{ {
} }
#endif #endif