From fa5cad61a43fe9003fa644a3d45ca13122f0f8fd Mon Sep 17 00:00:00 2001 From: Veerendranath Jakkam Date: Thu, 3 Nov 2022 13:38:50 +0530 Subject: [PATCH] MLD STA: Use AP MLD address in PMKSA entry Use the AP MLD address instead of the BSSID of a link as the authenticator address in the PMKSA entry. Signed-off-by: Veerendranath Jakkam --- src/rsn_supp/wpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 87f814a49..658abd112 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -1987,7 +1987,7 @@ static void wpa_supplicant_process_3_of_4(struct wpa_sm *sm, sa = pmksa_cache_add(sm->pmksa, sm->pmk, sm->pmk_len, NULL, sm->ptk.kck, sm->ptk.kck_len, - sm->bssid, sm->own_addr, + wpa_sm_get_auth_addr(sm), sm->own_addr, sm->network_ctx, sm->key_mgmt, NULL); if (!sm->cur_pmksa) sm->cur_pmksa = sa;