]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Store FST parameters to configuration file
authorJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 22:09:11 +0000 (00:09 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 22:10:57 +0000 (00:10 +0200)
This was forgotten when the parameters were added.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/config_file.c

index 1adc3d5c981c60099ca854f523c32c54a85e3e1a..920bdc07f6d79543f967ef292494573a3c296b16 100644 (file)
@@ -1406,6 +1406,13 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
 
        if (config->osu_dir)
                fprintf(f, "osu_dir=%s\n", config->osu_dir);
+
+       if (config->fst_group_id)
+               fprintf(f, "fst_group_id=%s\n", config->fst_group_id);
+       if (config->fst_priority)
+               fprintf(f, "fst_priority=%d\n", config->fst_priority);
+       if (config->fst_llt)
+               fprintf(f, "fst_llt=%d\n", config->fst_llt);
 }
 
 #endif /* CONFIG_NO_CONFIG_WRITE */