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");