aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers.c
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2017-05-18 11:59:30 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-01 18:52:56 (GMT)
commite360010c3a5e3836ede6e4901cb871a5cf9cb594 (patch)
tree33ceefe6c16f990d3c56179d17f7917360ddf926 /wpa_supplicant/dbus/dbus_new_handlers.c
parent9f917339ccda37047ce79916c92fdfae6c340f52 (diff)
downloadhostap-e360010c3a5e3836ede6e4901cb871a5cf9cb594.zip
hostap-e360010c3a5e3836ede6e4901cb871a5cf9cb594.tar.gz
hostap-e360010c3a5e3836ede6e4901cb871a5cf9cb594.tar.bz2
dbus: Add mesh to global capabilities
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers.c')
-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 e31b733..f4ebabe 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -980,7 +980,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[5] = { NULL, NULL, NULL, NULL, NULL };
+ const char *capabilities[6] = { NULL, NULL, NULL, NULL, NULL, NULL };
size_t num_items = 0;
#ifdef CONFIG_AP
@@ -998,6 +998,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
#ifdef CONFIG_IEEE80211W
capabilities[num_items++] = "pmf";
#endif /* CONFIG_IEEE80211W */
+#ifdef CONFIG_MESH
+ capabilities[num_items++] = "mesh";
+#endif /* CONFIG_MESH */
return wpas_dbus_simple_array_property_getter(iter,
DBUS_TYPE_STRING,