@@ -140,7 +140,7 @@ struct handshake_state {
bool authenticator_ocvc : 1;
bool supplicant_ocvc : 1;
bool ext_key_id_capable : 1;
- bool force_default_owe_group : 1;
+ bool force_default_ecc_group : 1;
uint8_t ssid[32];
size_t ssid_len;
char *passphrase;
@@ -556,8 +556,8 @@ int network_handshake_setup(struct network *network, struct scan_bss *bss,
handshake_state_set_protocol_version(hs, eapol_proto_version);
}
- if (hs->akm_suite == IE_RSN_AKM_SUITE_OWE)
- hs->force_default_owe_group = network->force_default_ecc_group;
+ hs->force_default_ecc_group = network->force_default_ecc_group ||
+ bss->force_default_sae_group;
/*
* The randomization options in the provisioning file are dependent on
@@ -45,7 +45,7 @@ struct owe_sm {
static bool owe_reset(struct owe_sm *owe)
{
- if (owe->hs->force_default_owe_group) {
+ if (owe->hs->force_default_ecc_group) {
if (owe->retry != 0) {
l_warn("Forced default OWE group but was rejected!");
return false;