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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ff88421b5d
commit
7e10c77f69
@@ -71,6 +71,11 @@ __wlan_hdd_cfg80211_avoid_freq_ext(struct wiphy *wiphy,
|
|||||||
|
|
||||||
hdd_enter_dev(wdev->netdev);
|
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();
|
curr_mode = hdd_get_conparam();
|
||||||
if (curr_mode == QDF_GLOBAL_FTM_MODE ||
|
if (curr_mode == QDF_GLOBAL_FTM_MODE ||
|
||||||
curr_mode == QDF_GLOBAL_MONITOR_MODE) {
|
curr_mode == QDF_GLOBAL_MONITOR_MODE) {
|
||||||
|
Reference in New Issue
Block a user