From: Pekka Pessi <pekka.pe...@nokia.com>

---
 plugins/ofono.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/ofono.c b/plugins/ofono.c
index 2af555d..3a6a9c1 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -380,7 +380,7 @@ static int network_probe(struct connman_network *network)
        return 0;
 }
 
-static gboolean pending_network_is_available(struct connman_network *network)
+static gboolean pending_network_is_valid(struct connman_network *network)
 {
        /* Modem or network may be removed */
        if (network == NULL || connman_network_get_device(network) == NULL) {
@@ -404,7 +404,7 @@ static void set_active_reply(DBusPendingCall *call, void 
*user_data)
 
        reply = dbus_pending_call_steal_reply(call);
 
-       if (!pending_network_is_available(network))
+       if (!pending_network_is_valid(network))
                goto done;
 
        dbus_error_init(&error);
@@ -1556,7 +1556,7 @@ static gboolean context_changed(DBusConnection 
*connection,
        if (network == NULL)
                return TRUE;
 
-       if (!pending_network_is_available(network)) {
+       if (!pending_network_is_valid(network)) {
                remove_network(network);
                return TRUE;
        }
-- 
1.7.1

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to