summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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[] = {