@@ -1881,7 +1881,8 @@ static void cancel_online_check(struct connman_service *service,
* @sa start_wispr_if_connected
*
*/
-static bool online_check_enabled_check(const struct connman_service *service)
+static bool online_check_is_enabled_check(
+ const struct connman_service *service)
{
if (!connman_setting_get_bool("EnableOnlineCheck")) {
connman_info("Online check disabled. "
@@ -1927,7 +1928,7 @@ static void start_online_check(struct connman_service *service,
type,
__connman_ipconfig_type2string(type));
- if (!online_check_enabled_check(service))
+ if (!online_check_is_enabled_check(service))
return;
if (type == CONNMAN_IPCONFIG_TYPE_IPV6 || check_proxy_setup(service)) {
@@ -2380,7 +2381,7 @@ static void start_wispr_if_connected(struct connman_service *service)
service,
connman_service_get_identifier(service));
- if (!online_check_enabled_check(service))
+ if (!online_check_is_enabled_check(service))
return;
if (__connman_service_is_connected_state(service,