From: Jouni Malinen Date: Thu, 23 Jan 2020 18:48:46 +0000 (+0200) Subject: Fix coloc_intf_reporting config param in hostapd in non-OWE builds X-Git-Tag: hostap_2_10~1930 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce26f0086ca87b77a5d58ef9bb6e7f1131757523;p=thirdparty%2Fhostap.git Fix coloc_intf_reporting config param in hostapd in non-OWE builds This has nothing to do with OWE and parsing of this value was not supposed to be within an ifdef CONFIG_OWE block. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 89e02a59a..c40983c98 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -4412,9 +4412,9 @@ static int hostapd_config_fill(struct hostapd_config *conf, line, pos); return 1; } +#endif /* CONFIG_OWE */ } else if (os_strcmp(buf, "coloc_intf_reporting") == 0) { bss->coloc_intf_reporting = atoi(pos); -#endif /* CONFIG_OWE */ } else if (os_strcmp(buf, "multi_ap") == 0) { int val = atoi(pos);