diff mbox series

[v3,11/60] service: Rename 'start_wispr_if_connected'.

Message ID 20231221223508.2365510-12-gerickson@nuovations.com (mailing list archive)
State Accepted, archived
Headers show
Series Complete 'continuous' Online Check Mode Implementation. | expand

Commit Message

Grant Erickson Dec. 21, 2023, 10:34 p.m. UTC
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.
---
 src/service.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/src/service.c b/src/service.c
index cd1e56d0cf7a..cd684fbc0b4f 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")) {