summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandrasekaran, Manishekar <cmshekar@qti.qualcomm.com>2016-05-09 12:34:02 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-05-10 03:49:32 -0700
commit216eac3ae2f38c6c1d81ffad3d6530e762467786 (patch)
treeb28f4156cda5374e2052fb896c8941f950958266
parentc7d2405d7e8e4ba3a5eecbbaa177f4895036a4eb (diff)
qcacld-2.0: Fix compilation error on x86 platform for 3-port concurrency
Fix the compilation error on x86 platform by replacing the API cnss_get_wlan_unsafe_channe with vos_get_wlan_unsafe_channel. Change-Id: I6fcbc1df7c7ddad51e21643a70dfc63168df4794 CRs-Fixed: 1012936
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index db5b5aa2d890..c679e9bae199 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -10813,7 +10813,7 @@ __wlan_hdd_cfg80211_avoid_freq(struct wiphy *wiphy,
ret = wlan_hdd_validate_context(hdd_ctx);
if (0 != ret)
return -EINVAL;
- cnss_get_wlan_unsafe_channel(hdd_ctx->unsafe_channel_list,
+ vos_get_wlan_unsafe_channel(hdd_ctx->unsafe_channel_list,
&(hdd_ctx->unsafe_channel_count),
sizeof(hdd_ctx->unsafe_channel_list));