qcacld-3.0: Don't send RSO cmd on roaming if not authenticated
Connection is initiated with AP1, roaming to AP2 and then roaming back to AP1.In this scenario, after assoc is done to AP1 firmware has the pmk for AP1. Now firmware roams to AP2 and sends roam sync indication with status as connected and 1x is now offloaded to supplicant. Now even before 1x is complete driver enables RSO for AP2 , due to this firmware receives same PMK as that of AP1. Firmware flushes AP1 entry because AP2 also has same PMK. After 1x , supplicant issues new PMK which is sent to firmware and firmware updates this for AP2 . Now when firmware tries to roam to AP1 and it dosent have pmk for AP1 and it results in full EAP HS. Change-Id: Id1a0b227cf7be12efa23f63c0abac6d3419469d5 CRs-Fixed: 2432114
This commit is contained in:
parent
057097f19b
commit
b8639d9d20
@ -21507,9 +21507,11 @@ static QDF_STATUS csr_process_roam_sync_callback(struct mac_context *mac_ctx,
|
||||
|
||||
policy_mgr_check_n_start_opportunistic_timer(mac_ctx->psoc);
|
||||
policy_mgr_check_concurrent_intf_and_restart_sap(mac_ctx->psoc);
|
||||
csr_roam_offload_scan(mac_ctx, session_id,
|
||||
ROAM_SCAN_OFFLOAD_UPDATE_CFG,
|
||||
REASON_CONNECT);
|
||||
if (roam_synch_data->authStatus ==
|
||||
CSR_ROAM_AUTH_STATUS_AUTHENTICATED)
|
||||
csr_roam_offload_scan(mac_ctx, session_id,
|
||||
ROAM_SCAN_OFFLOAD_UPDATE_CFG,
|
||||
REASON_CONNECT);
|
||||
csr_roam_call_callback(mac_ctx, session_id, NULL, 0,
|
||||
eCSR_ROAM_SYNCH_COMPLETE,
|
||||
eCSR_ROAM_RESULT_SUCCESS);
|
||||
|
Loading…
Reference in New Issue
Block a user