diff --git a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c index 0efeb674dca..e8c8033a26a 100644 --- a/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -1810,7 +1810,7 @@ qca_wlan_vendor_ll_get_policy[QCA_WLAN_VENDOR_ATTR_LL_STATS_GET_MAX +1] = [QCA_WLAN_VENDOR_ATTR_LL_STATS_GET_CONFIG_REQ_MASK] = { .type = NLA_U32 }, }; -static int __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, +static int __maybe_unused __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, struct wireless_dev *wdev, const void *data, int data_len) @@ -1939,7 +1939,7 @@ static int __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, return 0; } -static int wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, +static int __maybe_unused wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, struct wireless_dev *wdev, const void *data, int data_len) @@ -5397,6 +5397,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = .doit = wlan_hdd_cfg80211_ll_stats_set }, +#if 0 /* times out firmware, lags device */ { .info.vendor_id = QCA_NL80211_VENDOR_ID, .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET, @@ -5405,6 +5406,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = WIPHY_VENDOR_CMD_NEED_RUNNING, .doit = wlan_hdd_cfg80211_ll_stats_get }, +#endif #endif /* WLAN_FEATURE_LINK_LAYER_STATS */ #ifdef WLAN_FEATURE_EXTSCAN {