]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix coloc_intf_reporting config param in hostapd in non-OWE builds
authorJouni Malinen <jouni@codeaurora.org>
Thu, 23 Jan 2020 18:48:46 +0000 (20:48 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jan 2020 22:08:10 +0000 (00:08 +0200)
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 <jouni@codeaurora.org>
hostapd/config_file.c

index 89e02a59a105043e89bf052d34a606dae93aaa08..c40983c98b98af0150ca03231cad43c8c4e0e4f2 100644 (file)
@@ -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);