diff --git a/components/ipa/core/inc/wlan_ipa_priv.h b/components/ipa/core/inc/wlan_ipa_priv.h index 9724d4f43c..71230fc44d 100644 --- a/components/ipa/core/inc/wlan_ipa_priv.h +++ b/components/ipa/core/inc/wlan_ipa_priv.h @@ -674,13 +674,6 @@ struct wlan_ipa_priv { #define BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1) -#if defined(QCA_WIFI_3_0) && defined(CONFIG_IPA3) -#define WLAN_IPA_CHECK_HW() ipa_uc_reg_rdyCB(NULL) -#else -/* Do nothing */ -#define WLAN_IPA_CHECK_HW() 0 -#endif /* IPA3 */ - #define WLAN_IPA_DBG_DUMP_RX_LEN 84 #define WLAN_IPA_DBG_DUMP_TX_LEN 48 diff --git a/components/ipa/core/src/wlan_ipa_main.c b/components/ipa/core/src/wlan_ipa_main.c index abf35ce5f8..82bd648d1e 100644 --- a/components/ipa/core/src/wlan_ipa_main.c +++ b/components/ipa/core/src/wlan_ipa_main.c @@ -30,7 +30,7 @@ static bool g_ipa_hw_support; bool ipa_check_hw_present(void) { /* Check if ipa hw is enabled */ - if (WLAN_IPA_CHECK_HW() != -EPERM) { + if (qdf_ipa_uc_reg_rdyCB(NULL) != -EPERM) { g_ipa_hw_support = true; return true; } else {