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:

committed by
Sandeep Puligilla

parent
ef3f176ec9
commit
1a172617a6
@@ -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
|
||||||
*
|
*
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user