From: Jouni Malinen Date: Thu, 19 Feb 2015 14:22:47 +0000 (+0200) Subject: Fix passive_scan config parameter writing X-Git-Tag: hostap_2_4~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4da67deef2d34241d710ed84dcd6a40c32f8f76;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index cdc6e39dd..66d170c30 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -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 */