eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0d0377ede774fcb064033cf334a4fc51b82ac3e1
parent 313553aaddfd4e7b5a5a76748b0ef39db13a953f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 21 Aug 2019 12:06:15 -0700

knownnetworks: use get_name/get_type for dbus

The name/type on the dbus object will now refect the values
returned from the network_info ops

Diffstat:
Msrc/knownnetworks.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/knownnetworks.c b/src/knownnetworks.c @@ -436,7 +436,8 @@ static bool known_network_property_get_name(struct l_dbus *dbus, { struct network_info *network = user_data; - l_dbus_message_builder_append_basic(builder, 's', network->ssid); + l_dbus_message_builder_append_basic(builder, 's', + network_info_get_name(network)); return true; } @@ -449,7 +450,7 @@ static bool known_network_property_get_type(struct l_dbus *dbus, struct network_info *network = user_data; l_dbus_message_builder_append_basic(builder, 's', - security_to_str(network->type)); + network_info_get_type(network)); return true; }