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>
This commit is contained in:
parent
9cdcc88238
commit
8f58972942
1 changed files with 4 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
|
||||||
const struct wpa_dbus_property_desc *property_desc,
|
const struct wpa_dbus_property_desc *property_desc,
|
||||||
DBusMessageIter *iter, DBusError *error, void *user_data)
|
DBusMessageIter *iter, DBusError *error, void *user_data)
|
||||||
{
|
{
|
||||||
const char *capabilities[12];
|
const char *capabilities[13];
|
||||||
size_t num_items = 0;
|
size_t num_items = 0;
|
||||||
struct wpa_global *global = user_data;
|
struct wpa_global *global = user_data;
|
||||||
struct wpa_supplicant *wpa_s;
|
struct wpa_supplicant *wpa_s;
|
||||||
|
@ -1062,6 +1062,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
|
||||||
#ifdef CONFIG_OWE
|
#ifdef CONFIG_OWE
|
||||||
capabilities[num_items++] = "owe";
|
capabilities[num_items++] = "owe";
|
||||||
#endif /* CONFIG_OWE */
|
#endif /* CONFIG_OWE */
|
||||||
|
#ifdef CONFIG_SUITEB192
|
||||||
|
capabilities[num_items++] = "suiteb192";
|
||||||
|
#endif /* CONFIG_SUITEB192 */
|
||||||
if (ext_key_id_supported)
|
if (ext_key_id_supported)
|
||||||
capabilities[num_items++] = "extended_key_id";
|
capabilities[num_items++] = "extended_key_id";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue