summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2013-11-26 22:55:16 +0530
committerPrakash Dhavali <pdhavali@qca.qualcomm.com>2013-12-06 03:17:24 -0800
commita0b54a4c152f66833b2b4f284d9b621ffee09bb4 (patch)
treea62fcdff75253684d5a8ba9c707726f473fec6ac
parent2db5949a188e3b73af0f7aa16505f525ae19533a (diff)
cld: Fix country code while starting bss
While starting BSS, the country code is fetched from country IE of beacon template. In case of P2P GO or when there is no country IE in beacon, country code never be filled in bss config. The invalid country code is passed to CRDA to fetch regdomain which would fail always. start bss is blocked until the request to CRDA got timedout. Fix this by setting regdomain only when 11d is enabled. Change-Id: Ia8464c929e5b7fbe89401711e766f0c2e4918009 CRs-fixed: 575588
-rw-r--r--CORE/SAP/src/sapModule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/SAP/src/sapModule.c b/CORE/SAP/src/sapModule.c
index 72686fcf1eb3..4f0f6b2ec742 100644
--- a/CORE/SAP/src/sapModule.c
+++ b/CORE/SAP/src/sapModule.c
@@ -624,7 +624,8 @@ WLANSAP_StartBss
//then we just follow that sessions country info (whether
//present or not doesn't maater as we have to follow whatever
//STA session does)
- if (0 == sme_GetConcurrentOperationChannel(hHal))
+ if ((0 == sme_GetConcurrentOperationChannel(hHal)) &&
+ pConfig->ieee80211d)
{
/* Setting the region/country information */
sme_setRegInfo(hHal, pConfig->countryCode);