[PATCH 1/2] proc_coord: Fix build error

Andrei Otcheretianski andrei.otcheretianski at intel.com
Mon Feb 2 08:07:29 PST 2026


proc_coord_dir variable is unused if CONFIG_PROCESS_COORDINATION is
not defined. Fix it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 hostapd/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hostapd/main.c b/hostapd/main.c
index a7f5a32079..c17b67c330 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -832,7 +832,9 @@ int main(int argc, char *argv[])
 #ifdef CONFIG_DPP
 	struct dpp_global_config dpp_conf;
 #endif /* CONFIG_DPP */
+#ifdef CONFIG_PROCESS_COORDINATION
 	const char *proc_coord_dir = NULL;
+#endif /* CONFIG_PROCESS_COORDINATION */
 
 	if (os_program_init())
 		return -1;
-- 
2.52.0




More information about the Hostap mailing list