wlan: Include DS Params IE only for 11b/g mode
qcacld-2.0 to prima propagation
Fix to include DS Params IE only for 11b/g mode.
Currently soft AP advertise DS Params IE when rrm is enabled
even if it is not in 11b/g mode.
Change-Id: I930d05e4606559a04d0c9a9b993af8115e87fdbd
CRs-Fixed: 902848
diff --git a/CORE/SYS/legacy/src/utils/src/parserApi.c b/CORE/SYS/legacy/src/utils/src/parserApi.c
index 61fd233..70f542f 100644
--- a/CORE/SYS/legacy/src/utils/src/parserApi.c
+++ b/CORE/SYS/legacy/src/utils/src/parserApi.c
@@ -367,7 +367,7 @@
tDot11fIEDSParams *pDot11f, tANI_U8 channel,
tpPESession psessionEntry)
{
- if ((IS_24G_CH(channel)) || pMac->rrm.rrmPEContext.rrmEnable)
+ if (IS_24G_CH(channel))
{
// .11b/g mode PHY => Include the DS Parameter Set IE:
pDot11f->curr_channel = channel;