3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

knownnetworks: Use AutoConnect as property name

This commit is contained in:
Denis Kenzior 2019-10-24 12:49:59 -05:00
parent 9a56cbe3e5
commit c49893c827

View File

@ -140,7 +140,7 @@ static void known_network_set_autoconnect(struct network_info *network,
network->is_autoconnectable = autoconnect;
l_dbus_property_changed(dbus_get_bus(), known_network_get_path(network),
IWD_KNOWN_NETWORK_INTERFACE, "Autoconnect");
IWD_KNOWN_NETWORK_INTERFACE, "AutoConnect");
}
static int known_network_touch(struct network_info *info)
@ -619,7 +619,7 @@ static void setup_known_network_interface(struct l_dbus_interface *interface)
l_dbus_interface_property(interface, "Hidden", 0, "b",
known_network_property_get_hidden,
NULL);
l_dbus_interface_property(interface, "Autoconnect", 0, "b",
l_dbus_interface_property(interface, "AutoConnect", 0, "b",
known_network_property_get_autoconnect,
known_network_property_set_autoconnect);
l_dbus_interface_property(interface, "LastConnectedTime", 0, "s",