Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 555f6c31 authored by CNSS_WLAN Service's avatar CNSS_WLAN Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wlan: check BcnNumIes against size of header instead of 0" into wlan-driver.lnx.1.0

parents d09666cf 6ab54225
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -704,7 +704,7 @@ rrmFillBeaconIes( tpAniSirGlobal pMac,
   *((tANI_U16*)pIes) = pBssDesc->capabilityInfo;
   *pNumIes+=sizeof(tANI_U16); pIes+=sizeof(tANI_U16);

   while ( BcnNumIes > 0 )
   while ( BcnNumIes >= 2 )
   {
      len = *(pBcnIes + 1); //element id + length.
      len += 2;