mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Initialize message on stack in SME get peer info request
Initialize message local variable on stack in SME get peer info request API before posting message via scheduler API. Change-Id: I4471f3c3eacaacfb8e9145e61dd4eb33b921936f CRs-Fixed: 2158564
This commit is contained in:
parent
436979baa9
commit
658e849971
1 changed files with 3 additions and 3 deletions
|
|
@ -8581,7 +8581,7 @@ QDF_STATUS sme_get_peer_info(tHalHandle hal, struct sir_peer_info_req req,
|
|||
QDF_STATUS status;
|
||||
QDF_STATUS qdf_status;
|
||||
tpAniSirGlobal mac = PMAC_STRUCT(hal);
|
||||
struct scheduler_msg message;
|
||||
struct scheduler_msg message = {0};
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_STATUS_SUCCESS == status) {
|
||||
|
|
@ -8627,7 +8627,7 @@ QDF_STATUS sme_get_peer_info_ext(tHalHandle hal,
|
|||
QDF_STATUS status;
|
||||
QDF_STATUS qdf_status;
|
||||
tpAniSirGlobal mac = PMAC_STRUCT(hal);
|
||||
struct scheduler_msg message;
|
||||
struct scheduler_msg message = {0};
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_STATUS_SUCCESS == status) {
|
||||
|
|
@ -12087,7 +12087,7 @@ QDF_STATUS sme_ll_stats_set_thresh(tHalHandle hal,
|
|||
{
|
||||
QDF_STATUS status;
|
||||
tpAniSirGlobal mac;
|
||||
struct scheduler_msg message;
|
||||
struct scheduler_msg message = {0};
|
||||
struct sir_ll_ext_stats_threshold *thresh;
|
||||
|
||||
if (!threshold) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue