[PATCH] D-Bus: Make wpas_dbus_handler_interworking_select conditional on CONFIG_INTERWORKING

Alex Kiernan alex.kiernan at gmail.com
Sun Jan 2 03:05:48 PST 2022


Fixes: c8e4283f90e0 ("D-Bus: Interworking network selection")
Signed-off-by: Alex Kiernan <alexk at zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
---
 wpa_supplicant/dbus/dbus_new_handlers.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 545e9f64295a..fb00e3abcffd 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -1780,6 +1780,7 @@ DBusMessage * wpas_dbus_handler_remove_all_creds(DBusMessage *message,
 }
 
 
+#ifdef CONFIG_INTERWORKING
 DBusMessage *
 wpas_dbus_handler_interworking_select(DBusMessage *message,
 				      struct wpa_supplicant *wpa_s)
@@ -1800,6 +1801,7 @@ wpas_dbus_handler_interworking_select(DBusMessage *message,
 
 	return reply;
 }
+#endif
 
 
 /**
-- 
2.34.1




More information about the Hostap mailing list