aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers.c
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2017-01-05 15:06:33 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-14 15:29:22 (GMT)
commit3cdb4ac074f76accf24a51d143db545afad2c90b (patch)
tree1949fee4ad123d2cbb18a6cdf3ec60adde395105 /wpa_supplicant/dbus/dbus_new_handlers.c
parent76055b4c6115620421313038b6128f3b93d5160e (diff)
downloadhostap-3cdb4ac074f76accf24a51d143db545afad2c90b.zip
hostap-3cdb4ac074f76accf24a51d143db545afad2c90b.tar.gz
hostap-3cdb4ac074f76accf24a51d143db545afad2c90b.tar.bz2
D-Bus: Add pmf to global capabilities
This indicates that the wpa_supplicant binary has been compiled with PMF support. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers.c')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 0943010..87581c9 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,