D-Bus: Fix build without CONFIG_INTERWORKING

Make wpas_dbus_handler_interworking_select() conditional on
CONFIG_INTERWORKING to avoid compilation issues.

Fixes: c8e4283f90 ("D-Bus: Interworking network selection")
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
This commit is contained in:
Alex Kiernan 2022-01-02 11:05:48 +00:00 committed by Jouni Malinen
parent 58bbcfa31b
commit af6d4031d7

View file

@ -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 /* CONFIG_INTERWORKING */
/**