Browse Source

Store osu_dir to configuration file

This was forgotten when the parameter was added.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 8 years ago
parent
commit
35c78f7b97
1 changed files with 3 additions and 0 deletions
  1. 3 0
      wpa_supplicant/config_file.c

+ 3 - 0
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 */