aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-07 22:07:14 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-07 22:10:57 (GMT)
commit35c78f7b97d5d921432066083d351fbbbb91afff (patch)
treefe9bf302200c63f8f87203da7da1ad0f725ddbc9
parent1f539c78f49b671ac517933c5d515ce33251f857 (diff)
downloadhostap-35c78f7b97d5d921432066083d351fbbbb91afff.zip
hostap-35c78f7b97d5d921432066083d351fbbbb91afff.tar.gz
hostap-35c78f7b97d5d921432066083d351fbbbb91afff.tar.bz2
Store osu_dir to configuration file
This was forgotten when the parameter was added. Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--wpa_supplicant/config_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index e92fa52..1adc3d5 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1403,6 +1403,9 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
fprintf(f, "ftm_responder=%d\n", config->ftm_responder);
if (config->ftm_initiator)
fprintf(f, "ftm_initiator=%d\n", config->ftm_initiator);
+
+ if (config->osu_dir)
+ fprintf(f, "osu_dir=%s\n", config->osu_dir);
}
#endif /* CONFIG_NO_CONFIG_WRITE */