D-Bus: Notify mesh capability if driver supports it
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
This commit is contained in:
parent
361afb4f0f
commit
d02989f2e4
1 changed files with 5 additions and 0 deletions
|
@ -2673,6 +2673,11 @@ dbus_bool_t wpas_dbus_getter_capabilities(
|
|||
!wpa_s->conf->p2p_disabled &&
|
||||
!wpa_dbus_dict_string_array_add_element(
|
||||
&iter_array, "p2p")) ||
|
||||
#ifdef CONFIG_MESH
|
||||
(res >= 0 && (capa.flags & WPA_DRIVER_FLAGS_MESH) &&
|
||||
!wpa_dbus_dict_string_array_add_element(
|
||||
&iter_array, "mesh")) ||
|
||||
#endif /* CONFIG_MESH */
|
||||
!wpa_dbus_dict_end_string_array(&iter_dict,
|
||||
&iter_dict_entry,
|
||||
&iter_dict_val,
|
||||
|
|
Loading…
Reference in a new issue