qcacld-3.0: Initialize uninitialized variable staId
In function hdd_hostapd_sap_event_cb the variable staId is not initialized and used as an index element. Initialize the variable staId Change-Id: Ifef98b8c8cfa2ea63c31a5fc54986a4d016ee70a CRs-Fixed: 2162255
Tento commit je obsažen v:
@@ -1674,6 +1674,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
|
||||
|
||||
dfs_info.channel = ap_ctx->operating_channel;
|
||||
sme_get_country_code(hdd_ctx->hHal, dfs_info.country_code, &cc_len);
|
||||
staId = pSapEvent->sapevt.sapStartBssCompleteEvent.staId;
|
||||
|
||||
switch (sapEvent) {
|
||||
case eSAP_START_BSS_EVENT:
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele