Browse Source

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>
Stijn Tintel 8 years ago
parent
commit
3cdb4ac074
1 changed files with 3 additions and 0 deletions
  1. 3 0
      wpa_supplicant/dbus/dbus_new_handlers.c

+ 3 - 0
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,