qcacld-3.0: do not honor freq ext vendor cmd if ini is not set

Do not honor QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT
command if coex_unsafe_chan_nb_user_prefer ini is not set.

Change-Id: I9b278ba74052f1a333ed59d0b048d5a0611dbb3e
CRs-Fixed: 3125719
Esse commit está contido em:
Balaji Pothunoori
2022-02-09 19:05:30 +05:30
commit de Madan Koyyalamudi
commit 7e10c77f69

Ver arquivo

@@ -71,6 +71,11 @@ __wlan_hdd_cfg80211_avoid_freq_ext(struct wiphy *wiphy,
hdd_enter_dev(wdev->netdev);
if (!ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer(hdd_ctx->psoc)) {
hdd_debug("Coex unsafe chan nb user prefer is not set");
return -EOPNOTSUPP;
}
curr_mode = hdd_get_conparam();
if (curr_mode == QDF_GLOBAL_FTM_MODE ||
curr_mode == QDF_GLOBAL_MONITOR_MODE) {