From ec02ba84e270ec6357cd01ab723d767b32ce247f Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Wed, 1 Nov 2023 18:44:30 +0530 Subject: [PATCH] qcacmn: retry with same num links incase of assoc failure due to pmkid Currently for any assoc failure the number of links part of the association is reduced and retried with less number of partner links. If the failure is due to PMKID retry to the same with the same number of partner links instead of downgrading the links. Change-Id: I65320d92b4b77d2ccfb20a05fbab2aa8377bb6fa CRs-Fixed: 3653834 --- umac/mlme/connection_mgr/core/src/wlan_cm_connect.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c b/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c index a879766e13..41ffb5b515 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c @@ -1100,12 +1100,8 @@ static bool cm_is_retry_with_same_candidate(struct cnx_mgr *cm_ctx, max_retry_count = mlo_link_num - 1; /* Try once again for the invalid PMKID case without PMKID */ - if (resp->status_code == STATUS_INVALID_PMKID) { - if (score_config->vendor_roam_score_algorithm) - cm_update_mlo_links_for_retry_with_same_candidate(psoc, - req); + if (resp->status_code == STATUS_INVALID_PMKID) goto use_same_candidate; - } sae_connection = key_mgmt & (1 << WLAN_CRYPTO_KEY_MGMT_SAE | 1 << WLAN_CRYPTO_KEY_MGMT_FT_SAE |