P2P: Write p2p_ignore_shared_freq to configuration file on updates
Commit b277a2bebc
added a new global
configuration parameter, but forgot to update configuration file saving
to store this.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8047f70e03
commit
ef8151ac57
1 changed files with 3 additions and 0 deletions
|
@ -917,6 +917,9 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
|
||||||
if (config->p2p_no_group_iface)
|
if (config->p2p_no_group_iface)
|
||||||
fprintf(f, "p2p_no_group_iface=%u\n",
|
fprintf(f, "p2p_no_group_iface=%u\n",
|
||||||
config->p2p_no_group_iface);
|
config->p2p_no_group_iface);
|
||||||
|
if (config->p2p_ignore_shared_freq)
|
||||||
|
fprintf(f, "p2p_ignore_shared_freq=%u\n",
|
||||||
|
config->p2p_ignore_shared_freq);
|
||||||
#endif /* CONFIG_P2P */
|
#endif /* CONFIG_P2P */
|
||||||
if (config->country[0] && config->country[1]) {
|
if (config->country[0] && config->country[1]) {
|
||||||
fprintf(f, "country=%c%c\n",
|
fprintf(f, "country=%c%c\n",
|
||||||
|
|
Loading…
Reference in a new issue