qcacld-3.0: Do not parse PPE Threshold if ppet_present is unset

Do not parse PPE Threshold if ppet_present is unset. Frame parser
should return without parsing otherwise packing error will occur.

Change-Id: Ib4329363a196a89eed4668292d4b8f09f6023e62
CRs-Fixed: 1073481
This commit is contained in:
Krishna Kumaar Natarajan
2017-04-14 18:23:48 -07:00
committed by Sandeep Puligilla
parent ef3f176ec9
commit 1a172617a6
2 changed files with 6 additions and 2 deletions

View File

@@ -35,7 +35,7 @@
* *
* *
* This file was automatically generated by 'framesc' * This file was automatically generated by 'framesc'
* Mon Apr 3 16:17:19 2017 from the following file(s): * Fri Apr 14 18:11:09 2017 from the following file(s):
* *
* dot11f.frms * dot11f.frms
* *

View File

@@ -33,7 +33,7 @@
* *
* *
* This file was automatically generated by 'framesc' * This file was automatically generated by 'framesc'
* Mon Apr 3 16:17:19 2017 from the following file(s): * Fri Apr 14 18:11:09 2017 from the following file(s):
* *
* dot11f.frms * dot11f.frms
* *
@@ -21469,6 +21469,10 @@ uint32_t dot11f_pack_ie_vendor_he_cap(tpAniSirGlobal pCtx,
*pnConsumed += 2; *pnConsumed += 2;
pBuf += 2; pBuf += 2;
nBuf -= 2 ; nBuf -= 2 ;
if (!pSrc->ppet_present)
break;
status = pack_core(pCtx, status = pack_core(pCtx,
(uint8_t *)pSrc, (uint8_t *)pSrc,
pBuf, pBuf,