From 4204cf46c84fad6dca97946cc2eeedbebf7b785e Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Tue, 16 Dec 2014 12:48:06 -0800 Subject: 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 --- CORE/SAP/src/sapChSelect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3