From 5f9a622e3087c9ec10f42aab2aa415a87364bf49 Mon Sep 17 00:00:00 2001 From: stonez Date: Mon, 26 Aug 2019 13:23:02 +0800 Subject: [PATCH] qcacld-3.0: Including MPTA helper and Coex configuration feature MPTA helper and Coex configuration features are not included after latest system compilation updating. Modify configure file qcs40x.snoc.perf_defconfig to include them. Change-Id: I8ecad6c84bd4ca2d8e1b69f0cea14b61b2545ca3 CRs-Fixed: 2511723 --- configs/qcs40x.snoc.perf_defconfig | 2 ++ core/hdd/src/wlan_hdd_mpta_helper.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/qcs40x.snoc.perf_defconfig b/configs/qcs40x.snoc.perf_defconfig index ed700ba1f8..12939c4829 100644 --- a/configs/qcs40x.snoc.perf_defconfig +++ b/configs/qcs40x.snoc.perf_defconfig @@ -163,6 +163,8 @@ CONFIG_WLAN_FEATURE_DISA := y CONFIG_WLAN_FEATURE_FIPS := y CONFIG_WLAN_FEATURE_SAE := y CONFIG_GTK_OFFLOAD := y +CONFIG_QCACLD_FEATURE_COEX_CONFIG := y +CONFIG_QCACLD_FEATURE_MPTA_HELPER := y ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y) ifneq ($(WLAN_DISABLE_BUILD_TAG), y) diff --git a/core/hdd/src/wlan_hdd_mpta_helper.c b/core/hdd/src/wlan_hdd_mpta_helper.c index fe4502f05f..726ecce26d 100644 --- a/core/hdd/src/wlan_hdd_mpta_helper.c +++ b/core/hdd/src/wlan_hdd_mpta_helper.c @@ -61,14 +61,13 @@ __wlan_hdd_cfg80211_mpta_helper_config(struct wiphy *wiphy, const void *data, int data_len) { - struct net_device *netdev = wdev->netdev; struct hdd_context *hdd_ctx = wiphy_priv(wiphy); struct nlattr *tb[QCA_MPTA_HELPER_VENDOR_ATTR_MAX + 1]; struct coex_config_params coex_cfg_params = {0}; int errno; QDF_STATUS status; - hdd_enter_dev(netdev); + hdd_enter_dev(wdev->netdev); if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) { hdd_err("Command not allowed in FTM mode");