SAE: Conditionally set PMKID while notifying the external auth status
This is needed for the drivers implementing SME to include the PMKID in
the Association Request frame directly following SAE authentication.
This commit extends the commit d2b2083843
("SAE: Allow PMKID to be
added into Association Request frame following SAE") for drivers with
internal SME that use the external authentication mechanism.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
b7cd64876d
commit
346d10cf82
1 changed files with 2 additions and 0 deletions
|
@ -972,6 +972,8 @@ static void sme_send_external_auth_status(struct wpa_supplicant *wpa_s,
|
||||||
params.ssid = wpa_s->sme.ext_auth_ssid;
|
params.ssid = wpa_s->sme.ext_auth_ssid;
|
||||||
params.ssid_len = wpa_s->sme.ext_auth_ssid_len;
|
params.ssid_len = wpa_s->sme.ext_auth_ssid_len;
|
||||||
params.bssid = wpa_s->sme.ext_auth_bssid;
|
params.bssid = wpa_s->sme.ext_auth_bssid;
|
||||||
|
if (wpa_s->conf->sae_pmkid_in_assoc && status == WLAN_STATUS_SUCCESS)
|
||||||
|
params.pmkid = wpa_s->sme.sae.pmkid;
|
||||||
wpa_drv_send_external_auth_status(wpa_s, ¶ms);
|
wpa_drv_send_external_auth_status(wpa_s, ¶ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue