wlan: If the current band is 2.4GHZ, disable VHT 80/160

Currently VHT 80/ 160 are enabled in beacon even if the current
band is 2.4GHZ. To address this, Disable VHT 80/160 if the current
band is 2.4GHZ.

CRs-Fixed: 856577
Change-Id: I44c2868129a1063381da73cbd0348acce6fe501d
diff --git a/CORE/SYS/legacy/src/utils/src/parserApi.c b/CORE/SYS/legacy/src/utils/src/parserApi.c
index 42eb4cb..0af63fa 100644
--- a/CORE/SYS/legacy/src/utils/src/parserApi.c
+++ b/CORE/SYS/legacy/src/utils/src/parserApi.c
@@ -807,6 +807,12 @@
                                                                 nCfgValue );
     pDot11f->shortGI160and80plus80MHz = (nCfgValue & 0x0001);
 
+    if (nChannelNum && (SIR_BAND_2_4_GHZ == limGetRFBand(nChannelNum)))
+    {
+        pDot11f->shortGI80MHz = 0;
+        pDot11f->shortGI160and80plus80MHz = 0;
+    }
+
     nCfgValue = 0;
     CFG_GET_INT( nStatus, pMac, WNI_CFG_VHT_TXSTBC, nCfgValue );
     pDot11f->txSTBC = (nCfgValue & 0x0001);