Store osu_dir to configuration file

This was forgotten when the parameter was added.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-01-08 00:07:14 +02:00
parent 1f539c78f4
commit 35c78f7b97

View file

@ -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); fprintf(f, "ftm_responder=%d\n", config->ftm_responder);
if (config->ftm_initiator) if (config->ftm_initiator)
fprintf(f, "ftm_initiator=%d\n", 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 */ #endif /* CONFIG_NO_CONFIG_WRITE */