summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-10-22 17:49:49 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-10-23 17:05:55 -0500
commit369d9f8f335d6c6e02802716cf99b5be6f3164c4 (patch)
tree8467f049b694539cce50924083f76dea2c0f4be0
parent752468b16ecf3d5bce61f139c5666e4ef2564f62 (diff)
downloadofono-369d9f8f335d6c6e02802716cf99b5be6f3164c4.tar.bz2
Refactor: Deactivate all contexts function
-rw-r--r--src/gprs.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gprs.c b/src/gprs.c
index d35c869a..b7b8a61d 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -743,17 +743,10 @@ static DBusMessage *gprs_deactivate_all(DBusConnection *conn,
if (gprs->pending)
return __ofono_error_busy(msg);
- if (!gprs->driver->set_active_all)
- return __ofono_error_not_implemented(msg);
-
if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_INVALID))
return __ofono_error_invalid_args(msg);
- gprs->pending = dbus_message_ref(msg);
-
- gprs->driver->set_active_all(gprs, 0, gprs_generic_callback, gprs);
-
- return NULL;
+ return __ofono_error_not_implemented(msg);
}
static GDBusMethodTable manager_methods[] = {