mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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
This commit is contained in:
parent
ab088faa4a
commit
02fbc093ed
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue