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
부모 ef3f176ec9
커밋 1a172617a6
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -35,7 +35,7 @@
*
*
* 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
*

파일 보기

@@ -33,7 +33,7 @@
*
*
* 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
*
@@ -21469,6 +21469,10 @@ uint32_t dot11f_pack_ie_vendor_he_cap(tpAniSirGlobal pCtx,
*pnConsumed += 2;
pBuf += 2;
nBuf -= 2 ;
if (!pSrc->ppet_present)
break;
status = pack_core(pCtx,
(uint8_t *)pSrc,
pBuf,