Remove the access of status property of DataConnectionManager from oFono
authorMartin Xu <martin.xu@intel.com>
Wed, 14 Apr 2010 05:02:32 +0000 (13:02 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 14 Apr 2010 10:31:44 +0000 (03:31 -0700)
The status property has been removed from oFono post oFono 0.20

plugins/ofono.c

index 2ad01f2..2e47ce6 100644 (file)
@@ -777,11 +777,6 @@ static void check_networks_reply(DBusPendingCall *call, void *user_data)
                        contexts = value;
                        add_default_context(&contexts, path,
                                        CONTEXT_NAME, CONTEXT_TYPE);
-               } else if (g_str_equal(key, "Status") == TRUE) {
-                       const char *status;
-
-                       dbus_message_iter_get_basic(&value, &status);
-                       /* FIXME: add roaming support */
                } else if (g_str_equal(key, "Powered") == TRUE) {
                        dbus_bool_t powered;
 
@@ -1377,13 +1372,6 @@ static gboolean gprs_changed(DBusConnection *connection, DBusMessage *message,
                else if (modem->device != NULL)
                        connman_device_remove_all_networks(modem->device);
 
-       } else if (g_str_equal(key, "Status") == TRUE) {
-               const char *status;
-               dbus_message_iter_get_basic(&value, &status);
-
-               DBG("status %s", status);
-
-               /* FIXME: add roaming support */
        } else if (g_str_equal(key, "PrimaryContexts") == TRUE) {
                check_networks(modem);
        } else if (g_str_equal(key, "Powered") == TRUE) {