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:
Jouni Malinen 2015-02-19 16:22:47 +02:00 committed by Jouni Malinen
parent 4bcedaa400
commit c4da67deef

View file

@ -1232,7 +1232,7 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
config->mesh_max_inactivity);
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 */