summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}