aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-10-07 14:57:27 (GMT)
committerJouni Malinen <j@w1.fi>2018-11-24 16:18:25 (GMT)
commitd7591aab85fda730214094e298abc65dcd5cd349 (patch)
tree1aa971238e1b73b1fabd41868c36688e3e637703 /wpa_supplicant/dbus/dbus_new_handlers.c
parenteb7e74793139f2d0c9bf63f5eb9c839fdaf95b37 (diff)
downloadhostap-d7591aab85fda730214094e298abc65dcd5cd349.zip
hostap-d7591aab85fda730214094e298abc65dcd5cd349.tar.gz
hostap-d7591aab85fda730214094e298abc65dcd5cd349.tar.bz2
dbus: Expose availability of SHA384 on D-Bus
This lets us know whether we can attempt to use FT-EAP-SHA384. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers.c')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index fa461c3..94773b3 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -980,8 +980,8 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
const struct wpa_dbus_property_desc *property_desc,
DBusMessageIter *iter, DBusError *error, void *user_data)
{
- const char *capabilities[9] = { NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL };
+ const char *capabilities[10] = { NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL };
size_t num_items = 0;
#ifdef CONFIG_FILS
struct wpa_global *global = user_data;
@@ -1023,6 +1023,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
#ifdef CONFIG_IEEE80211R
capabilities[num_items++] = "ft";
#endif /* CONFIG_IEEE80211R */
+#ifdef CONFIG_SHA384
+ capabilities[num_items++] = "sha384";
+#endif /* CONFIG_SHA384 */
return wpas_dbus_simple_array_property_getter(iter,
DBUS_TYPE_STRING,