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 05:27:46 -0700
commit6171ff37e78421d8bc1974318deb64fe10d69877 (patch)
treeb28f4156cda5374e2052fb896c8941f950958266
parenta06be174279673e4836ab8ee1d0f5e12209a3d48 (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));