mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Set STA IDs to invalid data during STA initialization
During initializing station mode, the array holding STA IDs are not set to HDD_WLAN_INVALID_STA_ID(0xFF), leading STA IDs to hold a valid data, though there no connections. Set array holding STA IDs with HDD_WLAN_INVALID_STA_ID, to make STA IDs holding invalid data. Change-Id: I12167e83bebe0380520676c194f11cd4848330cf CRs-Fixed: 2053816
This commit is contained in:
parent
3ca28b0769
commit
b2d729c52b
1 changed files with 3 additions and 0 deletions
|
|
@ -3176,6 +3176,9 @@ QDF_STATUS hdd_init_station_mode(hdd_adapter_t *adapter)
|
|||
hdd_debug("Set HDD connState to eConnectionState_NotConnected");
|
||||
pHddStaCtx->conn_info.connState = eConnectionState_NotConnected;
|
||||
|
||||
qdf_mem_set(pHddStaCtx->conn_info.staId,
|
||||
sizeof(pHddStaCtx->conn_info.staId), HDD_WLAN_INVALID_STA_ID);
|
||||
|
||||
/* set fast roaming capability in sme session */
|
||||
status = sme_config_fast_roaming(hdd_ctx->hHal, adapter->sessionId,
|
||||
adapter->fast_roaming_allowed);
|
||||
|
|
|
|||
Loading…
Reference in a new issue