summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@qca.qualcomm.com>2014-12-16 12:48:06 -0800
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2014-12-19 16:19:09 +0530
commit4204cf46c84fad6dca97946cc2eeedbebf7b785e (patch)
tree68c67ab1a9be86ba36692c33ac06513ffc7c868f
parenta6a1479429761f46adf807c5aff23668484f9bd2 (diff)
qcacld: SAP : BSS failed to start on channel 14
Phymode is obtained from the global CSR configuration due to which BSS failed to start on channel 14 when phymode is auto. Modified code to get the phymode from the CSR session which is populated from the userspace configuration. Change-Id: I843e906f8e0b1d711c7d5753c9e59daf9bc350d5 CRs-Fixed: 770286
-rw-r--r--CORE/SAP/src/sapChSelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c
index a8be01506af9..7cd30ce2d706 100644
--- a/CORE/SAP/src/sapChSelect.c
+++ b/CORE/SAP/src/sapChSelect.c
@@ -696,7 +696,7 @@ v_BOOL_t sapChanSelInit(tHalHandle halHandle,
/* OFDM rates are not supported on channel 14 */
if(*pChans == 14 &&
- eCSR_DOT11_MODE_11b != sme_GetPhyMode(halHandle))
+ eCSR_DOT11_MODE_11b != pSapCtx->csrRoamProfile.phyMode)
{
continue;
}