aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-12-16 16:55:40 (GMT)
committerJouni Malinen <j@w1.fi>2021-01-15 10:24:26 (GMT)
commit8f589729428e44d8b323d0749e34ccfcce1fc979 (patch)
treeff9635dd9f2bd29aa0193d45bbf3928e5e34c323
parent9cdcc882386e4fbc5627150be014dbfd96857dfb (diff)
downloadhostap-8f589729428e44d8b323d0749e34ccfcce1fc979.zip
hostap-8f589729428e44d8b323d0749e34ccfcce1fc979.tar.gz
hostap-8f589729428e44d8b323d0749e34ccfcce1fc979.tar.bz2
dbus: Export new 'suiteb192' capability
Export a new 'suiteb192' capability to indicate that wpa_supplicant was built with WPA-EAP-SUITE-B-192 support and accepts 'key_mgmt=WPA-EAP-SUITE-B-192'. Signed-off-by: Antonio Cardace <acardace@redhat.com>
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 7ff224e..1e326a0 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -1011,7 +1011,7 @@ 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[12];
+ const char *capabilities[13];
size_t num_items = 0;
struct wpa_global *global = user_data;
struct wpa_supplicant *wpa_s;
@@ -1062,6 +1062,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
#ifdef CONFIG_OWE
capabilities[num_items++] = "owe";
#endif /* CONFIG_OWE */
+#ifdef CONFIG_SUITEB192
+ capabilities[num_items++] = "suiteb192";
+#endif /* CONFIG_SUITEB192 */
if (ext_key_id_supported)
capabilities[num_items++] = "extended_key_id";