config: Add bgscan option when saving global configuration
Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
This commit is contained in:
parent
268043d55f
commit
54ac5aa271
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue