mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Initialize variable sap_ap_event in sap_signal_hdd_event
Initialize variable sap_ap_event to avoid use of uninitialized value of sap_ap_event.sapHddEventCode when calling sap_ctx->pfnSapEventCallback. Change-Id: Idcf18b6c95ffcef59f0db764d0071fcb4909ea2e CRs-Fixed: 2232749
This commit is contained in:
parent
c30f3933ff
commit
4e4be911ba
1 changed files with 1 additions and 1 deletions
|
|
@ -1450,7 +1450,7 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
|
|||
void *context)
|
||||
{
|
||||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
tSap_Event sap_ap_event; /* This now encodes ALL event types */
|
||||
tSap_Event sap_ap_event = {0};
|
||||
tHalHandle hal = CDS_GET_HAL_CB();
|
||||
tpAniSirGlobal mac_ctx;
|
||||
tSirSmeChanInfo *chaninfo;
|
||||
|
|
|
|||
Loading…
Reference in a new issue