mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 19:43:03 -05:00
Fix passive_scan config parameter writing
Commit c35e35ed8133bb6d7b96765c5f0b1d41efe09fc5 ('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
@ -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…
x
Reference in New Issue
Block a user