]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Store PTKSA entry for the correct BSSID in the FT protocol case
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 21 Feb 2023 15:25:50 +0000 (17:25 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 21 Feb 2023 15:27:29 +0000 (17:27 +0200)
commit91ad7a3098ef474f1e33ac7495309045bd0f32c1
tree051638203dc0dd581bc8a2536d01defbe67ded9d
parent3f3e356fa0dab25f9f5b337c982b9caa6fe21a35
FT: Store PTKSA entry for the correct BSSID in the FT protocol case

sm->bssid has not yet been updated here, so use the provided bssid
instead. This avoids replacing the PTKSA entry for the previous AP when
a new PTKSA is being stored while using the FT protocol.

Fixes: d70060f9665a ("WPA: Add PTKSA cache to wpa_supplicant for PASN")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/rsn_supp/wpa_ft.c