From 6e36a44550199755a555f3156de68512dc6129fc Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Mon, 24 Apr 2017 07:55:35 -0700 Subject: [PATCH] qcacld-3.0: Revert the deleted PPE threshold changes Ic1b670e23f637f11b494422ad9954c1d7515e833 removed changes introduced as part of Ib4329363a196a89eed4668292d4b8f09f6023e62. Bring back the changes deleted unexpectedly. Change-Id: Ibd68b4bd58f60bf753267c328c0400f71bf46750 CRs-Fixed: 1073481 --- core/mac/src/include/dot11f.h | 2 +- core/mac/src/sys/legacy/src/utils/src/dot11f.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/mac/src/include/dot11f.h b/core/mac/src/include/dot11f.h index 2894b6f2f09a..caf40ba48a3c 100644 --- a/core/mac/src/include/dot11f.h +++ b/core/mac/src/include/dot11f.h @@ -35,7 +35,7 @@ * * * This file was automatically generated by 'framesc' - * Sat Apr 15 13:21:13 2017 from the following file(s): + * Mon Apr 24 07:46:47 2017 from the following file(s): * * dot11f.frms * diff --git a/core/mac/src/sys/legacy/src/utils/src/dot11f.c b/core/mac/src/sys/legacy/src/utils/src/dot11f.c index 722a296343be..d89c24c1d048 100644 --- a/core/mac/src/sys/legacy/src/utils/src/dot11f.c +++ b/core/mac/src/sys/legacy/src/utils/src/dot11f.c @@ -33,7 +33,7 @@ * * * This file was automatically generated by 'framesc' - * Sat Apr 15 13:21:13 2017 from the following file(s): + * Mon Apr 24 07:46:47 2017 from the following file(s): * * dot11f.frms * @@ -22514,6 +22514,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,