aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2016-02-15 02:23:37 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-18 19:07:47 (GMT)
commit70c93963edefa37ef84b73efb9d04ea10268341c (patch)
tree822bc47bd87bfae9eb715c764c71625d9b9aa30b /src/ap/ieee802_11.c
parent1492fbb90cc093fd67dc4f9a72e5bcadc9a7a331 (diff)
downloadhostap-70c93963edefa37ef84b73efb9d04ea10268341c.zip
hostap-70c93963edefa37ef84b73efb9d04ea10268341c.tar.gz
hostap-70c93963edefa37ef84b73efb9d04ea10268341c.tar.bz2
SAE: Fix PMKID calculation for PMKSA cache
The SAE PMKID is calculated with IEEE Std 802.11-2012 11.3.5.4, but the PMKID was re-calculated with 11.6.1.3 and saved into PMKSA cache. Fix this to save the PMKID calculated with 11.3.5.4 into the PMKSA cache. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index de32f66..dbabab8 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -665,7 +665,7 @@ static int sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta,
wpa_auth_sm_event(sta->wpa_sm, WPA_AUTH);
sta->sae->state = SAE_ACCEPTED;
wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr,
- sta->sae->pmk);
+ sta->sae->pmk, sta->sae->pmkid);
}
break;
case SAE_ACCEPTED: