config: Add bgscan option when saving global configuration

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
This commit is contained in:
Alexander Bondar 2014-03-03 14:53:18 +02:00 committed by Jouni Malinen
parent 268043d55f
commit 54ac5aa271

View file

@ -1118,6 +1118,9 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
if (config->tdls_external_control) if (config->tdls_external_control)
fprintf(f, "tdls_external_control=%d\n", fprintf(f, "tdls_external_control=%d\n",
config->tdls_external_control); config->tdls_external_control);
if (config->bgscan)
fprintf(f, "bgscan=\"%s\"\n", config->bgscan);
} }
#endif /* CONFIG_NO_CONFIG_WRITE */ #endif /* CONFIG_NO_CONFIG_WRITE */