wlan: Don't populate extended capabilities for IBSS.
Currently in case of IBSS, beacons are populated with
extended capabilities even though it doesn't signify
anything. As a part of fix, don't populate extended
ies in case of IBSS.
Change-Id: I63b6f413964cc53f2f25496fef40f99c4244293a
CRs-Fixed: 909195
diff --git a/CORE/SYS/legacy/src/utils/src/parserApi.c b/CORE/SYS/legacy/src/utils/src/parserApi.c
index 6596f0b..f5868b7 100644
--- a/CORE/SYS/legacy/src/utils/src/parserApi.c
+++ b/CORE/SYS/legacy/src/utils/src/parserApi.c
@@ -1029,7 +1029,8 @@
{
#ifdef WLAN_FEATURE_11AC
- if (psessionEntry->vhtCapability)
+ if (psessionEntry->vhtCapability &&
+ psessionEntry->limSystemRole != eLIM_STA_IN_IBSS_ROLE )
{
pDot11f->operModeNotification = 1;
pDot11f->present = 1;