Do not derive SAE PT if the network profile does not include SAE
wpa_s_setup_sae_pt() derived SAE PT even when the configured key management options did not include SAE if the global sae_pwe configuration parameter had been changed to enable H2E. This adds unnecessary extra delay, so derive PT only if SAE is actually enabled in the network profile. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
b7c6aa3ac6
commit
438a27b369
1 changed files with 1 additions and 0 deletions
|
@ -2424,6 +2424,7 @@ void wpa_s_setup_sae_pt(struct wpa_config *conf, struct wpa_ssid *ssid,
|
||||||
password = ssid->passphrase;
|
password = ssid->passphrase;
|
||||||
|
|
||||||
if (!password ||
|
if (!password ||
|
||||||
|
!wpa_key_mgmt_sae(ssid->key_mgmt) ||
|
||||||
(conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && !ssid->sae_password_id &&
|
(conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && !ssid->sae_password_id &&
|
||||||
!wpa_key_mgmt_sae_ext_key(ssid->key_mgmt) &&
|
!wpa_key_mgmt_sae_ext_key(ssid->key_mgmt) &&
|
||||||
!force &&
|
!force &&
|
||||||
|
|
Loading…
Reference in a new issue