FPII-2973 :Denial of service vulnerability in Qualcomm Wi-Fi driver CVE-2016-10235 A-34390620 QC-CR#1046409

qcacld-2.0: Fix VHT-80 IBSS stops beaconing
A STA entry is created for each peer joining
the network to take care of the peer specific
capabilities.

The VDEV need not be reconfigured for IBSS peer
with different channel width joining the network.

Change-Id: Id779ed8af7cb2c41683904a17c345b2c31e96cd6
diff --git a/CORE/MAC/src/pe/sch/schBeaconProcess.c b/CORE/MAC/src/pe/sch/schBeaconProcess.c
index c24a314..18abbd9 100644
--- a/CORE/MAC/src/pe/sch/schBeaconProcess.c
+++ b/CORE/MAC/src/pe/sch/schBeaconProcess.c
@@ -466,7 +466,8 @@
             sendProbeReq = TRUE;
     }
 
-    if ( psessionEntry->htCapability && pBeacon->HTInfo.present )
+    if (psessionEntry->htCapability && pBeacon->HTInfo.present &&
+                                 (!LIM_IS_IBSS_ROLE(psessionEntry)))
     {
         limUpdateStaRunTimeHTSwitchChnlParams( pMac, &pBeacon->HTInfo, bssIdx,psessionEntry);
     }