3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

scan: remove force_default_sae_group from scan_bss

This was added to support a single buggy AP model that failed to
negotiate the SAE group correctly. This may still be a problem but
since then the [Network].UseDefaultEccGroup option has been added
which accomplishes the same thing.

Remove the special handling for this specific OUI and rely on the
user setting the new option if they have problems.
This commit is contained in:
James Prestwood 2024-05-13 11:00:40 -07:00 committed by Denis Kenzior
parent 3be01a83ab
commit b05c1cafcd
3 changed files with 1 additions and 6 deletions

View File

@ -556,8 +556,7 @@ int network_handshake_setup(struct network *network, struct scan_bss *bss,
handshake_state_set_protocol_version(hs, eapol_proto_version);
}
hs->force_default_ecc_group = network->force_default_ecc_group ||
bss->force_default_sae_group;
hs->force_default_ecc_group = network->force_default_ecc_group;
/*
* The randomization options in the provisioning file are dependent on

View File

@ -1242,9 +1242,6 @@ static void scan_parse_vendor_specific(struct scan_bss *bss, const void *data,
bss->cost_flags = cost_flags;
return;
}
if (is_ie_default_sae_group_oui(data, len))
bss->force_default_sae_group = true;
}
/*

View File

@ -82,7 +82,6 @@ struct scan_bss {
bool vht_capable : 1;
bool anqp_capable : 1;
bool hs20_capable : 1;
bool force_default_sae_group : 1;
bool proxy_arp : 1;
bool hs20_dgaf_disable : 1;
uint8_t cost_level : 3;