From: Sachin Shelke <sachin.shelke@xxxxxxx> The commit a34ca59e (SAE: Allow SAE password to be configured separately (STA)) added sae_password configuration option. We should also store the sae_password in external database. Signed-off-by: Sachin Shelke <sachin.shelke@xxxxxxx> Signed-off-by: Cathy Luo <xiaohua.luo@xxxxxxx> Signed-off-by: Ganapathi Bhat <ganapathi.bhat@xxxxxxx> --- wpa_supplicant/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 2a0c780..fba5391 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -1620,7 +1620,7 @@ int wpa_config_write(const char *name, struct wpa_config *config) if (ssid->key_mgmt == WPA_KEY_MGMT_WPS || ssid->temporary) continue; /* do not save temporary networks */ if (wpa_key_mgmt_wpa_psk(ssid->key_mgmt) && !ssid->psk_set && - !ssid->passphrase) + !ssid->passphrase && !ssid->sae_password) continue; /* do not save invalid network */ fprintf(f, "\nnetwork={\n"); wpa_config_write_network(f, ssid); -- 1.9.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap