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>
This commit is contained in:
parent
1492fbb90c
commit
70c93963ed
13 changed files with 38 additions and 27 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue