]> git.ipfire.org Git - thirdparty/hostap.git/commit
Update PMK in wpa_sm when roam+auth event indicated with authorized flag
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Thu, 16 Feb 2023 16:52:13 +0000 (22:22 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 23 Feb 2023 11:16:52 +0000 (13:16 +0200)
commitb2bf7e39ecc9f52e7a0f11a9f8d9e4fc2ce57bd6
tree1ecff52a8f95420861e9249b1a86e639a65ef144
parent6b9c86466c36ffd35460009deb9e6f4bdfcabfc9
Update PMK in wpa_sm when roam+auth event indicated with authorized flag

Currently, the PMK used by the driver is not updated to wpa_sm when
roaming is completed by the driver with the cached PMKSA and the
roam+auth event is indicated with the authorized flag.

To fix this, identify the PMKSA entry from the PMKID sent in
Reassociation Request frame and update the correct PMK to wpa_sm from
the PMKSA entry.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
wpa_supplicant/events.c