diff options
| author | Komal Seelam <kseelam@qti.qualcomm.com> | 2014-12-09 19:10:12 +0530 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-12-10 14:49:36 +0530 |
| commit | 8fa1d674c5f8da42137643f0e80d3178b6cc30ea (patch) | |
| tree | 726384622851ee8701788d89fa518b040865d4a1 | |
| parent | 8bd13b96b0090a6c79ef31610cd19068fc47bc00 (diff) | |
qcacld-2.0: Zero PowerSave Params before configuring to Target.
MemZero PS Params before configuring to Target.
Change-Id: Iaa85cac41a7f3af9303d4aa46128e96eb460240b
CRs-Fixed: 768428
| -rw-r--r-- | CORE/MAC/src/pe/pmm/pmmApi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/MAC/src/pe/pmm/pmmApi.c b/CORE/MAC/src/pe/pmm/pmmApi.c index e14da8155b21..57f758197935 100644 --- a/CORE/MAC/src/pe/pmm/pmmApi.c +++ b/CORE/MAC/src/pe/pmm/pmmApi.c @@ -3106,6 +3106,7 @@ tSirRetStatus pmmOffloadEnterBmpsReqHandler(tpAniSirGlobal pMac, return eSIR_MEM_ALLOC_FAILED; } + vos_mem_zero(pEnablePsReqParams, sizeof(tEnablePsParams)); /* Fill the BSSID corresponding to PS Req */ vos_mem_copy(pEnablePsReqParams->bssid, psReqData->bssId, sizeof(tSirMacAddr)); @@ -3252,6 +3253,7 @@ tSirRetStatus pmmOffloadExitBmpsReqHandler(tpAniSirGlobal pMac, return eSIR_MEM_ALLOC_FAILED; } + vos_mem_zero(pDisablePsReqParams, sizeof(tDisablePsParams)); /* Fill the BSSID corresponding to PS Req */ vos_mem_copy(pDisablePsReqParams->bssid, psReqData->bssId, sizeof(tSirMacAddr)); |
