aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-iface-modem-3gpp.c')
-rw-r--r--src/mm-iface-modem-3gpp.c50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c
index a5d938ad..786372a4 100644
--- a/src/mm-iface-modem-3gpp.c
+++ b/src/mm-iface-modem-3gpp.c
@@ -2939,53 +2939,3 @@ mm_iface_modem_3gpp_get_type (void)
return iface_modem_3gpp_type;
}
-
-/* Remove modem personalization */
-gboolean
-mm_iface_modem_3gpp_disable_facility_lock_finish (MMIfaceModem3gpp *self,
- GAsyncResult *res,
- GError **error)
-{
- return g_task_propagate_boolean (G_TASK (res), error);
-}
-
-static void
-disable_facility_lock_ready (MMIfaceModem3gpp *self,
- GAsyncResult *res,
- GTask *task)
-{
- GError *error = NULL;
-
- if (!MM_IFACE_MODEM_3GPP_GET_INTERFACE (self)->disable_facility_lock_finish (self, res, &error)) {
- g_task_return_error (task, error);
- g_object_unref (task);
- }
-}
-
-void
-mm_iface_modem_3gpp_disable_facility_lock (MMIfaceModem3gpp *self,
- MMModem3gppFacility facility,
- guint8 slot,
- const gchar *control_key,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- GTask *task;
-
- task = g_task_new (self, NULL, callback, user_data);
-
- if (!MM_IFACE_MODEM_3GPP_GET_INTERFACE (self)->disable_facility_lock) {
- g_task_return_new_error (task, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED,
- "Disabling facility lock not supported");
- g_object_unref (task);
- return;
- }
-
- MM_IFACE_MODEM_3GPP_GET_INTERFACE (self)->disable_facility_lock (
- self,
- facility,
- slot,
- control_key ? g_strdup (control_key) : NULL,
- (GAsyncReadyCallback)disable_facility_lock_ready,
- task);
-}