diff options
author | Grant Erickson <gerickson@nuovations.com> | 2023-12-21 14:34:18 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-12-23 13:19:19 +0100 |
commit | fa3f83cb6f293d1496712029bbbe44a481971b3a (patch) | |
tree | 4a6656312e9a12eb714291a584d95dd811aef5f7 | |
parent | 62b23de5ed862189e790ccebe4bddd7115c0a714 (diff) | |
download | connman-fa3f83cb6f293d1496712029bbbe44a481971b3a.tar.gz |
service: Rename 'start_wispr_if_connected'.
This renames 'start_wispr_if_connected' to
'start_online_check_if_connected' since it aligns more closely with
other '*_online_check' functions and simply uses WISPr to effect the
online check.
-rw-r--r-- | src/service.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/service.c b/src/service.c index cd1e56d0c..cd684fbc0 100644 --- a/src/service.c +++ b/src/service.c @@ -2046,7 +2046,7 @@ static void cancel_online_check(struct connman_service *service, * enabled for the specified network service; otherwise, false. * * @sa start_online_check - * @sa start_wispr_if_connected + * @sa start_online_check_if_connected * */ static bool online_check_is_enabled_check( @@ -2090,7 +2090,7 @@ static bool online_check_is_enabled_check( * * @sa cancel_online_check * @sa complete_online_check - * @sa start_wispr_if_connected + * @sa start_online_check_if_connected * @sa __connman_service_wispr_start * */ @@ -2503,7 +2503,7 @@ done: * * @sa cancel_online_check * @sa start_online_check - * @sa start_wispr_if_connected + * @sa start_online_check_if_connected * @sa __connman_service_wispr_start * */ @@ -2572,7 +2572,7 @@ static void complete_online_check(struct connman_service *service, * configuration. * */ -static int start_wispr_if_connected(struct connman_service *service) +static int start_online_check_if_connected(struct connman_service *service) { DBG("service %p (%s) maybe start WISPr", service, @@ -2621,7 +2621,7 @@ static int start_wispr_if_connected(struct connman_service *service) * @sa cancel_online_check * @sa start_online_check * @sa complete_online_check - * @sa start_wispr_if_connected + * @sa start_online_check_if_connected * */ int __connman_service_wispr_start(struct connman_service *service, @@ -2908,7 +2908,7 @@ static void default_changed(void) connman_setting_get_bool("AllowDomainnameUpdates")) __connman_utsname_set_domainname(service->domainname); - start_wispr_if_connected(service); + start_online_check_if_connected(service); /* * Connect VPN automatically when new default service @@ -4927,7 +4927,7 @@ static DBusMessage *set_property(DBusConnection *conn, nameserver_add_all(service, CONNMAN_IPCONFIG_TYPE_ALL); dns_configuration_changed(service); - start_wispr_if_connected(service); + start_online_check_if_connected(service); service_save(service); } else if (g_str_equal(name, "Timeservers.Configuration")) { |