Skip to content

Commit ec738bf

Browse files
krishna Tkrish2718
authored andcommitted
Revert "Add support to configure SAE-H2E"
As the command is a global configuration, no need to add a separate command, it can be set using "wpa_cli set" itself. This reverts commit a5b03c4.
1 parent 91e968d commit ec738bf

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

wpa_supplicant/ctrl_iface.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -924,17 +924,6 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s,
924924
#endif /* CONFIG_WNM */
925925
} else if (os_strcasecmp(cmd, "enable_dscp_policy_capa") == 0) {
926926
wpa_s->enable_dscp_policy_capa = !!atoi(value);
927-
#ifdef CONFIG_SAE
928-
} else if (os_strcasecmp(cmd, "sae_pwe") == 0) {
929-
int pwe = atoi(value);
930-
931-
if (pwe < 0 || pwe > 2) {
932-
wpa_printf(MSG_ERROR,
933-
"Invalid SAE PWE value %d", pwe);
934-
return -1;
935-
}
936-
wpa_s->conf->sae_pwe = pwe;
937-
#endif /* CONFIG_SAE */
938927
} else {
939928
value[-1] = '=';
940929
ret = wpa_config_process_global(wpa_s->conf, cmd, -1);

0 commit comments

Comments
 (0)