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
此提交包含在:
@@ -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;
|
||||
|
新增問題並參考
封鎖使用者