aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-02-21 10:25:02 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-21 10:26:57 (GMT)
commitba9774bd76fa84106fa0865015df621489c62fd8 (patch)
tree5c50a790e5f7eb5ee0c8470d1343730ed67052da /wpa_supplicant/sme.c
parent7eace3787c0659bda640a4a7ea4ca6fe4b5c4e8f (diff)
downloadhostap-ba9774bd76fa84106fa0865015df621489c62fd8.zip
hostap-ba9774bd76fa84106fa0865015df621489c62fd8.tar.gz
hostap-ba9774bd76fa84106fa0865015df621489c62fd8.tar.bz2
FILS: Fix BSSID in reassociation case
The RSN supplicant implementation needs to be updated to use the new BSSID whenever doing FILS authentication. Previously, this was only done when notifying association and that was too late for the case of reassociation. Fix this by providing the new BSSID when calling fils_process_auth(). This makes PTK derivation use the correct BSSID. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index beb9d6e..cf16bf7 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -960,8 +960,8 @@ void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data)
#ifdef CONFIG_FILS
if (data->auth.auth_type == WLAN_AUTH_FILS_SK) {
- if (fils_process_auth(wpa_s->wpa, data->auth.ies,
- data->auth.ies_len) < 0) {
+ if (fils_process_auth(wpa_s->wpa, wpa_s->pending_bssid,
+ data->auth.ies, data->auth.ies_len) < 0) {
wpa_dbg(wpa_s, MSG_DEBUG,
"SME: FILS Authentication response processing failed");
wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_DISCONNECTED "bssid="