Fix passive_scan config parameter writing
Commit c35e35ed81
('Add passive_scan
configuration parameter') used incorrect parameter name when writing the
passive_scan parameter into a configuration file.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4bcedaa400
commit
c4da67deef
1 changed files with 1 additions and 1 deletions
|
@ -1232,7 +1232,7 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
|
||||||
config->mesh_max_inactivity);
|
config->mesh_max_inactivity);
|
||||||
|
|
||||||
if (config->passive_scan)
|
if (config->passive_scan)
|
||||||
fprintf(f, "cert_in_cb=%d\n", config->passive_scan);
|
fprintf(f, "passive_scan=%d\n", config->passive_scan);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_NO_CONFIG_WRITE */
|
#endif /* CONFIG_NO_CONFIG_WRITE */
|
||||||
|
|
Loading…
Reference in a new issue