[PATCH 2/2] D-Bus: add pmf to global capabilities

Stijn Tintel stijn at linux-ipv6.be
Thu Jan 5 07:06:33 PST 2017


Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 wpa_supplicant/dbus/dbus_new_handlers.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index b25afc8..eac9ab4 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -991,6 +991,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
 #ifdef CONFIG_INTERWORKING
 	capabilities[num_items++] = "interworking";
 #endif /* CONFIG_INTERWORKING */
+#ifdef CONFIG_IEEE80211W
+	capabilities[num_items++] = "pmf";
+#endif /* CONFIG_IEEE80211W */
 
 	return wpas_dbus_simple_array_property_getter(iter,
 						      DBUS_TYPE_STRING,
-- 
2.10.2




More information about the Hostap mailing list