wlan:Initialize local variable of type 'tpUpdateBeaconParams'

Intializing local variable of type 'tpUpdateBeaconParams' to zero
in all the places referred in the code to make sure valid BSSIdx
is populated.
Change-Id: I43aacd02097b63c83c5e5bb9da53ddd4177e0598
CRs-fixed: 546910
diff --git a/CORE/MAC/src/pe/sch/schBeaconProcess.c b/CORE/MAC/src/pe/sch/schBeaconProcess.c
index 7d80e7a..8d7260a 100644
--- a/CORE/MAC/src/pe/sch/schBeaconProcess.c
+++ b/CORE/MAC/src/pe/sch/schBeaconProcess.c
@@ -344,6 +344,7 @@
      tPowerdBm regMax = 0,maxTxPower = 0;
 #endif
 
+    vos_mem_zero(&beaconParams, sizeof(tUpdateBeaconParams));
     beaconParams.paramChangeBitmap = 0;
 
     if(eLIM_STA_IN_IBSS_ROLE == psessionEntry->limSystemRole )
@@ -684,6 +685,7 @@
     static tSchBeaconStruct beaconStruct;
     tUpdateBeaconParams beaconParams;
     tpPESession pAPSession = NULL;
+    vos_mem_zero(&beaconParams, sizeof(tUpdateBeaconParams));
     beaconParams.paramChangeBitmap = 0;
 
     pMac->sch.gSchBcnRcvCnt++;